Make this test pass if llvm-g++ was built without exception handling support.
[oota-llvm.git] / test / C++Frontend / 2003-10-27-VirtualBaseClassCrash.cpp
index 39ec5c76fac964c8de87a15f96cfd2b285823256..f9fc80ee9407ba463a761645d9ad95905cffb5f0 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
+
 
 template<class T>
 struct super {
@@ -5,7 +7,7 @@ struct super {
   void foo();
 };
 
-template <class T> 
+template <class T>
 struct test : virtual super<int> {};
 
 extern test<int> X;