summaryrefslogtreecommitdiffstats
path: root/test/Index/complete-synthesized.m
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-10-02 20:27:18 +0000
committerJohn McCall <rjmccall@apple.com>2011-10-02 20:27:18 +0000
commit80d2355df4a87b52412cc7481496c4a4eccd3db1 (patch)
tree5789a8ab151d03581d29d976dfd7b1548f15616d /test/Index/complete-synthesized.m
parent591dbc7b0c0b1fcfccb9256e6d71d57a0ba967c1 (diff)
Sorry, I misunderstood the interaction here; the GNU runtime does
support both a fragile and non-fragile ABI, and it can be selected at runtime. That driver option also works on Darwin (although obviously the code is not necessarily usable if the system runtime is fragile) so just do that. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140973 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/complete-synthesized.m')
-rw-r--r--test/Index/complete-synthesized.m8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/Index/complete-synthesized.m b/test/Index/complete-synthesized.m
index f4777963c8..81f1ba186f 100644
--- a/test/Index/complete-synthesized.m
+++ b/test/Index/complete-synthesized.m
@@ -35,11 +35,9 @@
}
@end
-// 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
+// RUN: c-index-test -code-completion-at=%s:24:1 -fobjc-nonfragile-abi -fobjc-default-synthesize-properties %s | FileCheck %s
+// RUN: c-index-test -code-completion-at=%s:30:2 -fobjc-nonfragile-abi -fobjc-default-synthesize-properties %s | FileCheck %s
+// RUN: c-index-test -code-completion-at=%s:34:2 -fobjc-nonfragile-abi -fobjc-default-synthesize-properties %s | FileCheck %s
// CHECK: NotImplemented:{TypedText _Bool} (50)
// CHECK: ObjCIvarDecl:{ResultType float}{TypedText _prop2} (35)