brintos

brintos / llvm-project-archived public Read only

0
0
Text · 238 B · 3def43e Raw
14 lines · cpp
1// RUN: %clang_cc1 -emit-llvm-only -verify %s2// expected-no-diagnostics3 4struct A { int a(); };5typedef int B;6void a() {7  A x;8  ((x.a))();9  ((x.*&A::a))();10  B y;11  // FIXME: Sema doesn't like this for some reason...12  //(y.~B)();13}14