aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/block-pointer-decl.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-12-04 23:20:07 +0000
committerChris Lattner <sabre@nondot.org>2008-12-04 23:20:07 +0000
commitae0ee03fd9d36446ee70e502fdaf5ed5acec269f (patch)
treef65a9a7baea6040b42c4428d227c91415b0574df /test/Parser/block-pointer-decl.c
parent06de37bade11b2d4187a1e4f74d0dcf2a72dda39 (diff)
instead of forcing blocks on by default, make them default to off, but let
specific targets default them to on. Default blocks to on on 10.6 and later. Add a -fblocks option that allows the user to override the target's default. Use -fblocks in the various testcases that use blocks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60563 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/block-pointer-decl.c')
-rw-r--r--test/Parser/block-pointer-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/block-pointer-decl.c b/test/Parser/block-pointer-decl.c
index a9da3256a9..9920f5f68b 100644
--- a/test/Parser/block-pointer-decl.c
+++ b/test/Parser/block-pointer-decl.c
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -parse-noop %s
+// RUN: clang -fsyntax-only -verify -parse-noop -fblocks %s
struct blockStruct {
int (^a)(float, int);