// RUN: %clang_cc1 -fsyntax-only -verify %sstructC{typedefintI;};typedefintI1,I2;externint*p;externint*q;voidf(){p->C::I::~I();q->I1::~I2();}structA{~A();};typedefAAB;intmain(){AB*p;p->AB::~AB();// expected-error{{expected the class name after '~' to name a destructor}}}