• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
2 // XFAIL: *
3 // Our C++0x doesn't currently have specialized destructor name handling,
4 // since the specification is still in flux.
5 struct C {
6   typedef int I;
7 };
8 
9 typedef int I1, I2;
10 extern int* p;
11 extern int* q;
12 
f()13 void f() {
14   p->C::I::~I();
15   q->I1::~I2();
16 }
17 
18 struct A {
19   ~A();
20 };
21 
22 typedef A AB;
main()23 int main() {
24   AB *p;
25   p->AB::~AB();
26 }
27