mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
16 lines
166 B
C++
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();
|
||
|
}
|