projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new regression test
[oota-llvm.git]
/
test
/
C++Frontend
/
2005-07-21-VirtualBaseAccess.cpp
1
// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | not grep cast
2
3
void foo(int*);
4
5
struct FOO {
6
int X;
7
};
8
9
struct BAR : virtual FOO { BAR(); };
10
11
int testfn() {
12
BAR B;
13
foo(&B.X);
14
}