aboutsummaryrefslogtreecommitdiff
path: root/test cases/24 target arg/func.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/24 target arg/func.c')
-rw-r--r--test cases/24 target arg/func.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/24 target arg/func.c b/test cases/24 target arg/func.c
new file mode 100644
index 0000000..d8a509a
--- /dev/null
+++ b/test cases/24 target arg/func.c
@@ -0,0 +1,9 @@
+#ifndef CTHING
+#error "Local argument not set"
+#endif
+
+#ifdef CXXTHING
+#error "Wrong local argument set"
+#endif
+
+int func() { return 0; }