blob: 5bc336c69d24e9faf7469d3ddd34850a5bf3bc65 [file] [log] [blame]
// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | not grep cast
void foo(int*);
struct FOO {
int X;
};
struct BAR : virtual FOO { BAR(); };
int testfn() {
BAR B;
foo(&B.X);
}