Skip to content
Snippets Groups Projects
Commit 9762834a authored by Chris Lattner's avatar Chris Lattner
Browse files

new testcase for PR602

llvm-svn: 22495
parent a9443f29
No related branches found
No related tags found
No related merge requests found
// 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);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment