From: John McCall Date: Sun, 2 Oct 2011 11:28:21 +0000 (+0000) Subject: Use -fgnu-runtime to force the use of the non-fragile ABI; X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=591dbc7b0c0b1fcfccb9256e6d71d57a0ba967c1;p=clang 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 --- 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)