aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-11 19:49:49 +0000
committerChris Lattner <sabre@nondot.org>2009-04-11 19:49:49 +0000
commit03a6cbbd91e6491f315a3627f1f5f03337d9c67f (patch)
treea2b9ba0d4a4ebb19b6ff60627869282a76131b4a
parent23b0faf03131140113f077b5e7dfc225fa56cb23 (diff)
downloadllvm-03a6cbbd91e6491f315a3627f1f5f03337d9c67f.zip
llvm-03a6cbbd91e6491f315a3627f1f5f03337d9c67f.tar.gz
llvm-03a6cbbd91e6491f315a3627f1f5f03337d9c67f.tar.bz2
pass -fblocks
llvm-svn: 68878
-rw-r--r--clang/test/CodeGen/kr-style-block.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/test/CodeGen/kr-style-block.c b/clang/test/CodeGen/kr-style-block.c
index ccaa2c5..ac788dc 100644
--- a/clang/test/CodeGen/kr-style-block.c
+++ b/clang/test/CodeGen/kr-style-block.c
@@ -1,12 +1,10 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t -fblocks
void foo (void(^)());
int main()
{
foo(
- ^()
- {
- }
+ ^() { }
);
}