Author: dgregor
Date: Mon Dec  1 13:48:06 2008
New Revision: 60367

URL: http://llvm.org/viewvc/llvm-project?rev=60367&view=rev
Log:
Test blocks in C++ mode

Added:
    cfe/trunk/test/SemaCXX/blocks.cpp

Added: cfe/trunk/test/SemaCXX/blocks.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/blocks.cpp?rev=60367&view=auto

==============================================================================
--- cfe/trunk/test/SemaCXX/blocks.cpp (added)
+++ cfe/trunk/test/SemaCXX/blocks.cpp Mon Dec  1 13:48:06 2008
@@ -0,0 +1,7 @@
+// RUN clang -fsyntax-only -verify %s
+
+void tovoid(void*);
+
+void tovoid_test(int (^f)(int, int)) {
+  tovoid(f);
+}


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to