aboutsummaryrefslogtreecommitdiff
path: root/test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2009-10-15 16:26:17 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2009-10-15 16:26:17 +0000
commit5cd822fa9bbb9622241e3bf4d7674ed49ccde5b9 (patch)
treefbc3e1401bc9623b861166be5940c750f5ca52da /test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp
parent26137f35958fa2237eceb06ef7003e3c19159129 (diff)
Notes
Diffstat (limited to 'test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp')
-rw-r--r--test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp b/test/FrontendC++/2003-11-18-MemberInitializationCasting.cpp
deleted file mode 100644
index cb66ba1127db..000000000000
--- 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();
-}