1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 22:42:52 +01:00
llvm-mirror/test/Regression/C++Frontend/2003-10-27-VirtualBaseClassCrash.cpp
Chris Lattner 210cfb0bd4 New testcase which crashes the C++ FE
llvm-svn: 9534
2003-10-27 17:51:31 +00:00

16 lines
166 B
C++

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();
}