blob: f9fc80ee9407ba463a761645d9ad95905cffb5f0 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
2
3
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}