aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-11-01 19:47:41 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-11-01 19:47:41 +0000
commitd4e7e22a917f73f27855534e4e0b5480b8003ce9 (patch)
treeb4c73f2b423c5a6cd1fd28b61caaea580078f96d
parent0505321691aa39105ecd2f92bb64cdaa932fbf08 (diff)
[libclang] Fix non-darwin buildbots.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143477 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Index/usrs.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Index/usrs.m b/test/Index/usrs.m
index e7a926f3f3..d1da204314 100644
--- a/test/Index/usrs.m
+++ b/test/Index/usrs.m
@@ -1,4 +1,4 @@
-// RUN: c-index-test -test-load-source-usrs all %s | FileCheck %s
+
static inline int my_helper(int x, int y) { return x + y; }
@@ -88,6 +88,7 @@ int test_multi_declaration(void) {
@property (assign) id pro_ext;
@end
+// RUN: c-index-test -test-load-source-usrs all -ccc-host-triple x86_64-apple-macosx10.7 %s | FileCheck %s
// CHECK: usrs.m c:usrs.m@67@F@my_helper Extent=[3:1 - 3:60]
// CHECK: usrs.m c:usrs.m@95@F@my_helper@x Extent=[3:29 - 3:34]
// CHECK: usrs.m c:usrs.m@102@F@my_helper@y Extent=[3:36 - 3:41]