New testcase which crashes the C++ FE

llvm-svn: 9534
This commit is contained in:
Chris Lattner 2003-10-27 17:51:31 +00:00
parent cdde075fa9
commit 2a4349e1bd
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
template<class T>
struct super {
int Y;
void foo();
};
template <class T>
struct test : virtual super<int> {};
extern test<int> X;
void foo() {
X.foo();
}