1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

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 d3bf1a9768
commit 210cfb0bd4

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