forked from OSchip/llvm-project
parent
cdde075fa9
commit
2a4349e1bd
|
@ -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