summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-06-18 20:51:51 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-06-18 20:51:51 +0000
commit8f99e9413f49f89d1c29e1c083068b9aedbbee4e (patch)
treea9fd00a08fe799951748b548904f6d0f976a1ce9 /clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp
parent696e44efd456747e385e8892180d5d2222a0474b (diff)
downloadbcm5719-llvm-8f99e9413f49f89d1c29e1c083068b9aedbbee4e.tar.gz
bcm5719-llvm-8f99e9413f49f89d1c29e1c083068b9aedbbee4e.zip
Partially revert r184225 test changes and make a smaller and more generic fix.
llvm-svn: 184232
Diffstat (limited to 'clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp')
-rw-r--r--clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp b/clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp
index e84ffd93bee..03c66339947 100644
--- a/clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp
+++ b/clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp
@@ -1,11 +1,7 @@
-// RUN: %clang_cc1 %s -emit-llvm -o - -triple=i686-unknown-linux | FileCheck --check-prefix=CHECKX86 %s
-// RUN: %clang_cc1 %s -emit-llvm -o - -triple=arm-linux-gnueabihf | FileCheck --check-prefix=CHECKARM %s
+// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
struct A { virtual void a(); };
A x(A& y) { return y; }
-// CHECKX86: define linkonce_odr {{.*}} @_ZN1AC1ERKS_(%struct.A* %this, %struct.A*) unnamed_addr
-// CHECKX86: store i8** getelementptr inbounds ([3 x i8*]* @_ZTV1A, i64 0, i64 2)
-
-// CHECKARM: define linkonce_odr {{.*}} @_ZN1AC1ERKS_(%struct.A* returned %this, %struct.A*) unnamed_addr
-// CHECKARM: store i8** getelementptr inbounds ([3 x i8*]* @_ZTV1A, i64 0, i64 2)
+// CHECK: define linkonce_odr {{.*}} @_ZN1AC1ERKS_(%struct.A* {{.*}}%this, %struct.A*) unnamed_addr
+// CHECK: store i8** getelementptr inbounds ([3 x i8*]* @_ZTV1A, i64 0, i64 2)
OpenPOWER on IntegriCloud