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
commit273cd4224e13dab6bf738183ace8f93f914ec95c (patch)
treece3d43ad4a43b2f108ceffe89561f435975badc0
parent7db638d1222bfb2517ac54388e83169a4c76cf7e (diff)
pass -fblocks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68878 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/kr-style-block.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/CodeGen/kr-style-block.c b/test/CodeGen/kr-style-block.c
index ccaa2c5144..ac788dc9ab 100644
--- a/test/CodeGen/kr-style-block.c
+++ b/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(
- ^()
- {
- }
+ ^() { }
);
}