According to my auto-simplifier the most common missed simplifications in
[llvm/stm8.git] / test / FrontendC++ / 2003-10-27-VirtualBaseClassCrash.cpp
blobabda017ab96bf5c75bbf49964380381f26773f28
1 // RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
4 template<class T>
5 struct super {
6 int Y;
7 void foo();
8 };
10 template <class T>
11 struct test : virtual super<int> {};
13 extern test<int> X;
15 void foo() {
16 X.foo();