1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 // C++0x [basic.lookup.classref]p3:
4 // If the unqualified-id is ~type-name, the type-name is looked up in the
5 // context of the entire postfix-expression. If the type T of the object
6 // expression is of a class type C, the type-name is also looked up in the
7 // scope of class C. At least one of the lookups shall find a name that
8 // refers to (possibly cv-qualified) T.
10 // From core issue 305
24 // From core issue 414