aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC++
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-03-16 18:50:54 +0000
committerDuncan Sands <baldrick@free.fr>2010-03-16 18:50:54 +0000
commitd0883da484640cb930bd8d3456ac6da7a96cadfd (patch)
tree47afd95872beeb4ab0332f527841b106cf32f6fe /test/FrontendC++
parenta256a75c0333dcbac0e119dad233782527db513c (diff)
downloadexternal_llvm-d0883da484640cb930bd8d3456ac6da7a96cadfd.zip
external_llvm-d0883da484640cb930bd8d3456ac6da7a96cadfd.tar.gz
external_llvm-d0883da484640cb930bd8d3456ac6da7a96cadfd.tar.bz2
Chris pointed out that producing undef here is wrong in
general. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC++')
-rw-r--r--test/FrontendC++/2010-03-16-SinkStores.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/FrontendC++/2010-03-16-SinkStores.cpp b/test/FrontendC++/2010-03-16-SinkStores.cpp
deleted file mode 100644
index 7b4b500..0000000
--- a/test/FrontendC++/2010-03-16-SinkStores.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-// RUN: %llvmgxx -S %s -o - | FileCheck %s
-
-#include <utility>
-
-typedef std::pair<int,int> P;
-// CHECK: @_ZZ1fvE1X {{.*}} undef
-
-P f() {
- static const P X = P(1,2);
- return X;
-}