summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjCXX/nrvo.mm
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjCXX/nrvo.mm')
-rw-r--r--test/CodeGenObjCXX/nrvo.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenObjCXX/nrvo.mm b/test/CodeGenObjCXX/nrvo.mm
index ef5052e..47460c2 100644
--- a/test/CodeGenObjCXX/nrvo.mm
+++ b/test/CodeGenObjCXX/nrvo.mm
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -o - -fblocks %s -O1 -triple x86_64-apple-darwin10.0.0 -fobjc-fragile-abi | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -o - -fblocks %s -O1 -triple x86_64-apple-darwin10.0.0 -fobjc-runtime=macosx-fragile-10.5 | FileCheck %s
// PR10835 / <rdar://problem/10050178>
struct X {
@@ -22,7 +22,7 @@ struct X {
X blocksNRVO() {
return ^{
- // CHECK: define internal void @__blocksNRVO_block_invoke_0
+ // CHECK: define internal void @___Z10blocksNRVOv_block_invoke
X x;
// CHECK: tail call void @_ZN1XC1Ev
// CHECK-NEXT: ret void
OpenPOWER on IntegriCloud