blob: 19cb0ccbcc6ea3362251bb4f8c86a18f568c416c [file] [log] [blame]
Tanya Lattnerd13e0ae2004-11-06 22:29:57 +00001// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
2
Chris Lattnerfbbc2cc2003-10-27 17:51:31 +00003
4template<class T>
5struct super {
6 int Y;
7 void foo();
8};
9
10template <class T>
11struct test : virtual super<int> {};
12
13extern test<int> X;
14
15void foo() {
16 X.foo();
17}