]> granicus.if.org Git - clang/commitdiff
[libclang] Add a triple to test/Index/index-decls.m
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 8 Jun 2012 03:54:16 +0000 (03:54 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 8 Jun 2012 03:54:16 +0000 (03:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158192 91177308-0d34-0410-b5e6-96231b3b80d8

test/Index/index-decls.m

index bf5e2c89ca8c1f22025af9d29cfd8b6a424b144c..46d37c4345a46243c40e59e4046cfe309b1152b0 100644 (file)
@@ -26,7 +26,7 @@ __attribute__((something)) @interface I2 @end
 }
 @end
 
-// RUN: c-index-test -index-file %s > %t
+// RUN: c-index-test -index-file %s -target x86_64-apple-macosx10.7 > %t
 // RUN: FileCheck %s -input-file=%t
 // CHECK: [indexDeclaration]: kind: objc-class | name: I | {{.*}} | loc: 1:12
 // CHECK: [indexDeclaration]: kind: objc-instance-method | name: prop | {{.*}} | loc: 3:2