repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove a dead bool.
[llvm/avr.git]
/
test
/
FrontendC++
/
2003-10-27-VirtualBaseClassCrash.cpp
blob
abda017ab96bf5c75bbf49964380381f26773f28
1
// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2
3
4
template
<
class
T
>
5
struct
super
{
6
int
Y
;
7
void
foo
();
8
};
9
10
template
<
class
T
>
11
struct
test
:
virtual
super
<
int
> {};
12
13
extern
test
<
int
>
X
;
14
15
void
foo
() {
16
X
.
foo
();
17
}