2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -emit-llvm-only -verify %s
|
2009-12-08 10:09:46 +08:00
|
|
|
|
|
|
|
struct A { int a(); };
|
|
|
|
typedef int B;
|
|
|
|
void a() {
|
|
|
|
A x;
|
|
|
|
((x.a))();
|
|
|
|
((x.*&A::a))();
|
|
|
|
B y;
|
|
|
|
// FIXME: Sema doesn't like this for some reason...
|
|
|
|
//(y.~B)();
|
|
|
|
}
|