<commit_before>// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
// XFAIL: *
// Our C++0x doesn't currently have specialized destructor name handling,
// since the specification is still in flux.
struct C { 
  typedef int I;
}; 

typedef int I1, I2; 
extern int* p; 
extern int* q; 

void f() {
  p->C::I::~I(); 
  q->I1::~I2();
}

struct A { 
  ~A();
}; 

typedef A AB; 
int main() {
  AB *p; 
  p->AB::~AB();
}
<commit_msg>This test should no longer be XFAILed; the standard has stabilized, and the test contents are acceptable. No diagnostics expected from this test.<commit_after>// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
// expected-no-diagnostics

struct C {
  typedef int I;
};

typedef int I1, I2;
extern int* p;
extern int* q;

void f() {
  p->C::I::~I();
  q->I1::~I2();
}

struct A {
  ~A();
};

typedef A AB;
int main() {
  AB *p;
  p->AB::~AB();
}

{'fraction_non_alphanumeric': 0.18088737201365188, 'fraction_numerical': 0.017064846416382253, 'mean_word_length': 3.1904761904761907, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6885496', 'n_tokens_mistral': 370, 'n_tokens_neox': 348, 'n_words': 114}