diff options
-rw-r--r-- | test/SemaCXX/blocks.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/SemaCXX/blocks.cpp b/test/SemaCXX/blocks.cpp new file mode 100644 index 0000000000..6393c1a631 --- /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); +} |