[bazel] Port 0aa831e0edb1c1deabb96ce2435667cc82bac79b
[llvm-project.git] / clang / test / CXX / basic / basic.lookup / basic.lookup.qual / p6.cpp
blob83c8dd8fc22dff9e0ad3f9a69845dc6d126e09e5
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 struct C {
5 typedef int I;
6 };
8 typedef int I1, I2;
9 extern int* p;
10 extern int* q;
12 void f() {
13 p->C::I::~I();
14 q->I1::~I2();
17 struct A {
18 ~A();
19 };
21 typedef A AB;
22 int main() {
23 AB *p;
24 p->AB::~AB();