Test that a call to a trampoline is turned into a call to
[oota-llvm.git] / test / C++Frontend / 2003-08-21-EmptyClass.cpp
index a4b803ec096aa94fbc8f0d54a108864f6f60c6a7..2f90b3a1053155be5f550226b0610131f73676a3 100644 (file)
@@ -1,6 +1,9 @@
+// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
+
+// This tests compilation of EMPTY_CLASS_EXPR's
 
 struct empty {};
 
-void foo(empty E);
+void foo(empty) {}
 
 void bar() { foo(empty()); }