f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
13 lines
238 B
C++
13 lines
238 B
C++
// RUN: %clang_cc1 -emit-llvm-only -verify %s
|
|
// expected-no-diagnostics
|
|
|
|
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)();
|
|
}
|