]> granicus.if.org Git - clang/commitdiff
Use -fgnu-runtime to force the use of the non-fragile ABI;
authorJohn McCall <rjmccall@apple.com>
Sun, 2 Oct 2011 11:28:21 +0000 (11:28 +0000)
committerJohn McCall <rjmccall@apple.com>
Sun, 2 Oct 2011 11:28:21 +0000 (11:28 +0000)
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

test/Index/complete-synthesized.m

index 335a10b4ea9e41f4109075325b2cd456db568f66..f4777963c8e51f5eca6aac4343a1a68b28e0ee5d 100644 (file)
 }
 @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)