[llvm-commits] [test-suite] r42321 - in /test-suite/trunk/SingleSource/Regression/C++: ofstream_ctor.cpp short_circuit_dtor.cpp

Tanya Lattner tonic at nondot.org
Tue Sep 25 14:20:43 PDT 2007


Author: tbrethou
Date: Tue Sep 25 16:20:42 2007
New Revision: 42321

URL: http://llvm.org/viewvc/llvm-project?rev=42321&view=rev
Log:
Test cases should return 0.

Modified:
    test-suite/trunk/SingleSource/Regression/C++/ofstream_ctor.cpp
    test-suite/trunk/SingleSource/Regression/C++/short_circuit_dtor.cpp

Modified: test-suite/trunk/SingleSource/Regression/C++/ofstream_ctor.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Regression/C%2B%2B/ofstream_ctor.cpp?rev=42321&r1=42320&r2=42321&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Regression/C++/ofstream_ctor.cpp (original)
+++ test-suite/trunk/SingleSource/Regression/C++/ofstream_ctor.cpp Tue Sep 25 16:20:42 2007
@@ -2,5 +2,6 @@
 #include <fstream>
 int main() {
   std::ofstream X;
+  return 0;
 }
 

Modified: test-suite/trunk/SingleSource/Regression/C++/short_circuit_dtor.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Regression/C%2B%2B/short_circuit_dtor.cpp?rev=42321&r1=42320&r2=42321&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Regression/C++/short_circuit_dtor.cpp (original)
+++ test-suite/trunk/SingleSource/Regression/C++/short_circuit_dtor.cpp Tue Sep 25 16:20:42 2007
@@ -11,4 +11,5 @@
 int main() {
   if ((foo(1) || foo(2)))
     bar();
+  return 0;
 }





More information about the llvm-commits mailing list