Home | History | Annotate | Download | only in basic.lookup.qual
      1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
      2 // expected-no-diagnostics
      3 
      4 struct C {
      5   typedef int I;
      6 };
      7 
      8 typedef int I1, I2;
      9 extern int* p;
     10 extern int* q;
     11 
     12 void f() {
     13   p->C::I::~I();
     14   q->I1::~I2();
     15 }
     16 
     17 struct A {
     18   ~A();
     19 };
     20 
     21 typedef A AB;
     22 int main() {
     23   AB *p;
     24   p->AB::~AB();
     25 }
     26