[llvm-commits] [llvm] r83937 - in /llvm/trunk/test/FrontendC++: 2003-11-09-ConstructorTypeSafety.cpp 2003-11-18-MemberInitializationCasting.cpp
Chris Lattner
sabre at nondot.org
Mon Oct 12 21:25:24 PDT 2009
Author: lattner
Date: Mon Oct 12 23:25:24 2009
New Revision: 83937
URL: http://llvm.org/viewvc/llvm-project?rev=83937&view=rev
Log:
remove two old and nearly useless tests.
Removed:
llvm/trunk/test/FrontendC++/2003-11-09-ConstructorTypeSafety.cpp
llvm/trunk/test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp
Removed: llvm/trunk/test/FrontendC++/2003-11-09-ConstructorTypeSafety.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2003-11-09-ConstructorTypeSafety.cpp?rev=83936&view=auto
==============================================================================
--- llvm/trunk/test/FrontendC++/2003-11-09-ConstructorTypeSafety.cpp (original)
+++ llvm/trunk/test/FrontendC++/2003-11-09-ConstructorTypeSafety.cpp (removed)
@@ -1,21 +0,0 @@
-// The code generated for this testcase should be completely typesafe!
-// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | \
-// RUN: notcast
-
-struct contained {
- unsigned X;
- contained();
-};
-
-struct base {
- unsigned A, B;
-};
-
-struct derived : public base {
- contained _M_value_field;
-};
-
-int test() {
- derived X;
-}
-
Removed: llvm/trunk/test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2003-11-18-MemberInitializationCasting.cpp?rev=83936&view=auto
==============================================================================
--- llvm/trunk/test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp (original)
+++ llvm/trunk/test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp (removed)
@@ -1,13 +0,0 @@
-// RUN: %llvmgcc -xc++ -S -o - %s | llvm-as | opt -die | llvm-dis | notcast
-
-struct A {
- A() : i(0) {}
- int getI() {return i;}
- int i;
-};
-
-int f(int j)
-{
- A a;
- return j+a.getI();
-}
More information about the llvm-commits
mailing list