[llvm-commits] CVS: llvm/test/Regression/C++Frontend/CompileFail/2003-08-21-EmptyClass.cpp

root root at apoc.cs.uiuc.edu
Fri Aug 22 19:50:48 PDT 2003


Changes in directory llvm/test/Regression/C++Frontend/CompileFail:

2003-08-21-EmptyClass.cpp added (r1.1)

---
Log message:

new testcase


---
Diffs of the changes:

Index: llvm/test/Regression/C++Frontend/CompileFail/2003-08-21-EmptyClass.cpp
diff -c /dev/null llvm/test/Regression/C++Frontend/CompileFail/2003-08-21-EmptyClass.cpp:1.1
*** /dev/null	Thu Aug 21 23:13:23 2003
--- llvm/test/Regression/C++Frontend/CompileFail/2003-08-21-EmptyClass.cpp	Thu Aug 21 23:13:13 2003
***************
*** 0 ****
--- 1,6 ----
+ 
+ struct empty {};
+ 
+ void foo(empty E);
+ 
+ void bar() { foo(empty()); }





More information about the llvm-commits mailing list