Add -fblocks.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 30 Jul 2009 02:43:05 +0000 (02:43 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 30 Jul 2009 02:43:05 +0000 (02:43 +0000)
llvm-svn: 77571

clang/test/Index/find-decls.c
clang/test/Index/find-defs.c
clang/test/Index/find-refs.c

index 425c89d..50a233d 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -emit-pch %S/t1.c -o %t1.ast &&
-// RUN: clang-cc -emit-pch %S/t2.c -o %t2.ast &&
+// RUN: clang-cc -fblocks -emit-pch %S/t1.c -o %t1.ast &&
+// RUN: clang-cc -fblocks -emit-pch %S/t2.c -o %t2.ast &&
 
 // RUN: index-test %t1.ast %t2.ast -point-at %S/t1.c:8:7 -print-decls > %t &&
 // RUN: cat %t | count 3 &&
index 3dc635b..0e63ae7 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -emit-pch %S/t1.c -o %t1.ast &&
-// RUN: clang-cc -emit-pch %S/t2.c -o %t2.ast &&
+// RUN: clang-cc -fblocks -emit-pch %S/t1.c -o %t1.ast &&
+// RUN: clang-cc -fblocks -emit-pch %S/t2.c -o %t2.ast &&
 
 // RUN: index-test %t1.ast %t2.ast -point-at %S/foo.h:1:14 -print-defs > %t &&
 // RUN: cat %t | count 1 &&
index 8090e67..1b58b37 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -emit-pch %S/t1.c -o %t1.ast &&
-// RUN: clang-cc -emit-pch %S/t2.c -o %t2.ast &&
+// RUN: clang-cc -fblocks -emit-pch %S/t1.c -o %t1.ast &&
+// RUN: clang-cc -fblocks -emit-pch %S/t2.c -o %t2.ast &&
 
 // RUN: index-test %t1.ast %t2.ast -point-at %S/foo.h:1:14 -print-refs > %t &&
 // RUN: cat %t | count 4 &&