projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New testcase which crashes the C++ FE
[oota-llvm.git]
/
test
/
C++Frontend
/
2003-10-27-VirtualBaseClassCrash.cpp
1
2
template<class T>
3
struct super {
4
int Y;
5
void foo();
6
};
7
8
template <class T>
9
struct test : virtual super<int> {};
10
11
extern test<int> X;
12
13
void foo() {
14
X.foo();
15
}