repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
A8.6.92 MCR (Encoding A1): if coproc == '101x' then SEE "Advanced SIMD and VFP"
[llvm/stm8.git]
/
test
/
FrontendC++
/
2005-07-21-VirtualBaseAccess.cpp
blob
ca600d6433df01a2ebbe5a9102a42b1aaeae66c4
1
// RUN: %llvmgxx -xc++ %s -S -o - | opt -die -S | 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
}