Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
a9cad0e7e09e6d34de2fccb4f1294b7f0b8f3b68
/
.
/
test
/
FrontendC++
/
2005-07-21-VirtualBaseAccess.cpp
blob: 7711cff6d36093f27426fb74251b893adca9575f [
file
] [
log
] [
blame
]
// RUN: %llvmgxx -xc++ %s -c -o - | opt -die | llvm-dis | not grep cast
void
foo
(
int
*);
struct
FOO
{
int
X
;
};
struct
BAR
:
virtual
FOO
{
BAR
();
};
int
testfn
()
{
BAR B
;
foo
(&
B
.
X
);
}