2004-11-06 22:29:57 +00:00
|
|
|
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
|
|
|
|
|
2003-10-27 17:51:31 +00:00
|
|
|
|
|
|
|
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();
|
|
|
|
}
|