]> granicus.if.org Git - clang/commitdiff
Since this test depends on default ivar synthesis, specify the target triple. This...
authorTed Kremenek <kremenek@apple.com>
Fri, 24 Sep 2010 01:51:38 +0000 (01:51 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 24 Sep 2010 01:51:38 +0000 (01:51 +0000)
on some archs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114716 91177308-0d34-0410-b5e6-96231b3b80d8

test/Index/properties-default-synthesis.m

index e26ca731e595e43b28234dcc00a9b3cf2bb8ecb7..59f986820e51f475c02e93839329faaaa4db4a2f 100644 (file)
@@ -27,7 +27,7 @@
 }
 @end
 
-// RUN: c-index-test -test-load-source local %s | FileCheck %s
+// RUN: c-index-test -test-load-source local -cc1 -triple x86_64-apple-darwin10.0.0 -fsyntax-only %s | FileCheck %s
 // CHECK: properties-default-synthesis.m:2:1: UnexposedDecl=[2:8, 2:17, 2:27] Extent=[2:1 - 2:35]
 // CHECK: properties-default-synthesis.m:2:8: ObjCClassRef=NSArray:2:8 Extent=[2:8 - 2:15]
 // CHECK: properties-default-synthesis.m:2:17: ObjCClassRef=NSString:2:17 Extent=[2:17 - 2:25]