summaryrefslogtreecommitdiffstats
path: root/test cases/frameworks/29 blocks/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/frameworks/29 blocks/main.c')
-rw-r--r--test cases/frameworks/29 blocks/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test cases/frameworks/29 blocks/main.c b/test cases/frameworks/29 blocks/main.c
new file mode 100644
index 0000000..e5ae589
--- /dev/null
+++ b/test cases/frameworks/29 blocks/main.c
@@ -0,0 +1,6 @@
+int main(int argc, char **argv)
+{
+ int (^callback)(void) = ^ int (void) { return 0; };
+
+ return callback();
+}