summary refs log tree commit diff stats
path: root/tinyc/tests/pp/08.c
diff options
context:
space:
mode:
Diffstat (limited to 'tinyc/tests/pp/08.c')
-rw-r--r--tinyc/tests/pp/08.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tinyc/tests/pp/08.c b/tinyc/tests/pp/08.c
new file mode 100644
index 000000000..93018e11f
--- /dev/null
+++ b/tinyc/tests/pp/08.c
@@ -0,0 +1,4 @@
+// test macro expansion in arguments
+#define s_pos              s_s.s_pos
+#define foo(x) (x)
+foo(hej.s_pos)