summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-08-10 17:20:45 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-08-10 17:20:45 +0000
commit2a26e351fc0750b62ae7ab5c4253650923aeccc9 (patch)
tree6ca4392c393af9437c91549c8e082b9fd0190861 /clang/test/CodeGenCXX/copy-constructor-synthesis.cpp
parentb717091e69f8f16d4956bb036eb5378b7d17f8f7 (diff)
downloadbcm5719-llvm-2a26e351fc0750b62ae7ab5c4253650923aeccc9.tar.gz
bcm5719-llvm-2a26e351fc0750b62ae7ab5c4253650923aeccc9.zip
Fixed a ir-gen bug in synthesizing copy constructors.
llvm-svn: 78570
Diffstat (limited to 'clang/test/CodeGenCXX/copy-constructor-synthesis.cpp')
-rw-r--r--clang/test/CodeGenCXX/copy-constructor-synthesis.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp b/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp
index edc0c0ecb82..a993926f190 100644
--- a/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp
+++ b/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp
@@ -1,5 +1,5 @@
-// RUNX: clang-cc -triple x86_64-apple-darwin -S %s -o %t-64.s &&
-// RUNX: FileCheck -check-prefix LP64 --input-file=%t-64.s %s &&
+// RUN: clang-cc -triple x86_64-apple-darwin -S %s -o %t-64.s &&
+// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s &&
// RUN: clang-cc -triple i386-apple-darwin -S %s -o %t-32.s &&
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s &&
// RUN: true
@@ -43,12 +43,9 @@ int main()
X c(x);
c.pr();
}
-#if 0
-// -m64 does not work due to unrelated llvm bug!
// CHECK-LP64: .globl __ZN1XC1ERK1X
// CHECK-LP64: .weak_definition __ZN1XC1ERK1X
// CHECK-LP64: __ZN1XC1ERK1X:
-#endif
// CHECK-LP32: .globl __ZN1XC1ERK1X
// CHECK-LP32: .weak_definition __ZN1XC1ERK1X
OpenPOWER on IntegriCloud