[cfe-commits] r68878 - /cfe/trunk/test/CodeGen/kr-style-block.c

Chris Lattner sabre at nondot.org
Sat Apr 11 12:49:50 PDT 2009


Author: lattner
Date: Sat Apr 11 14:49:49 2009
New Revision: 68878

URL: http://llvm.org/viewvc/llvm-project?rev=68878&view=rev
Log:
pass -fblocks

Modified:
    cfe/trunk/test/CodeGen/kr-style-block.c

Modified: cfe/trunk/test/CodeGen/kr-style-block.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/kr-style-block.c?rev=68878&r1=68877&r2=68878&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/kr-style-block.c (original)
+++ cfe/trunk/test/CodeGen/kr-style-block.c Sat Apr 11 14:49:49 2009
@@ -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(
-  ^()
-   {
-   }
+  ^() { }
 );
 }





More information about the cfe-commits mailing list