From 2a03c04424c76a587e0694c96ac165e1749d8a1e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 13 Oct 2009 04:25:24 +0000 Subject: [PATCH] remove two old and nearly useless tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83937 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../2003-11-09-ConstructorTypeSafety.cpp | 21 ------------------- ...2003-11-18-MemberInitializationCasting.cpp | 13 ------------ 2 files changed, 34 deletions(-) delete mode 100644 test/FrontendC++/2003-11-09-ConstructorTypeSafety.cpp delete mode 100644 test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp diff --git a/test/FrontendC++/2003-11-09-ConstructorTypeSafety.cpp b/test/FrontendC++/2003-11-09-ConstructorTypeSafety.cpp deleted file mode 100644 index e6c09e5bfe1..00000000000 --- a/test/FrontendC++/2003-11-09-ConstructorTypeSafety.cpp +++ /dev/null @@ -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; -} - diff --git a/test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp b/test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp deleted file mode 100644 index cb66ba1127d..00000000000 --- a/test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp +++ /dev/null @@ -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(); -}