Test blocks in C++ mode

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60367 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/blocks.cpp b/test/SemaCXX/blocks.cpp
new file mode 100644
index 0000000..6393c1a
--- /dev/null
+++ b/test/SemaCXX/blocks.cpp
@@ -0,0 +1,7 @@
+// RUN clang -fsyntax-only -verify %s
+
+void tovoid(void*);
+
+void tovoid_test(int (^f)(int, int)) {
+  tovoid(f);
+}