aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-10-02 11:28:21 +0000
committerJohn McCall <rjmccall@apple.com>2011-10-02 11:28:21 +0000
commit591dbc7b0c0b1fcfccb9256e6d71d57a0ba967c1 (patch)
tree48de1de5e4eef03e266767a9a4c58e4c7a4d1421
parent4768b9c7712ca1442bb7a565fedd16adce55cbd9 (diff)
Use -fgnu-runtime to force the use of the non-fragile ABI;
otherwise these tests would fail on hosts that happen to default to that, since that affects whether default synthesis can happen. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140970 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Index/complete-synthesized.m11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/Index/complete-synthesized.m b/test/Index/complete-synthesized.m
index 335a10b4ea..f4777963c8 100644
--- a/test/Index/complete-synthesized.m
+++ b/test/Index/complete-synthesized.m
@@ -35,12 +35,11 @@
}
@end
-// RUN: c-index-test -code-completion-at=%s:24:1 -Xclang -fobjc-nonfragile-abi -fobjc-default-synthesize-properties %s | FileCheck %s
-// RUN: c-index-test -code-completion-at=%s:30:2 -Xclang -fobjc-nonfragile-abi -fobjc-default-synthesize-properties %s | FileCheck %s
-// RUN: c-index-test -code-completion-at=%s:34:2 -Xclang -fobjc-nonfragile-abi -fobjc-default-synthesize-properties %s | FileCheck %s
-//
-// FIXME: Failing since r140957, needs to be investigated.
-// XFAIL: *
+// We use -fgnu-runtime to portably force the use of the non-fragile ABI.
+
+// RUN: c-index-test -code-completion-at=%s:24:1 -fgnu-runtime -fobjc-default-synthesize-properties %s | FileCheck %s
+// RUN: c-index-test -code-completion-at=%s:30:2 -fgnu-runtime -fobjc-default-synthesize-properties %s | FileCheck %s
+// RUN: c-index-test -code-completion-at=%s:34:2 -fgnu-runtime -fobjc-default-synthesize-properties %s | FileCheck %s
// CHECK: NotImplemented:{TypedText _Bool} (50)
// CHECK: ObjCIvarDecl:{ResultType float}{TypedText _prop2} (35)