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:
parent
d3bf1a9768
commit
210cfb0bd4
@ -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();
|
||||
}
|
Loading…
Reference in New Issue
Block a user