From e6a1d3c467dccd4c4cd913532895afbe6ef603f7 Mon Sep 17 00:00:00 2001 From: John McCall Date: Sun, 2 Oct 2011 11:28:21 +0000 Subject: [PATCH] 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. llvm-svn: 140970 --- clang/test/Index/complete-synthesized.m | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/clang/test/Index/complete-synthesized.m b/clang/test/Index/complete-synthesized.m index 335a10b4ea9e..f4777963c8e5 100644 --- a/clang/test/Index/complete-synthesized.m +++ b/clang/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)