aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/preprocessor/expand-and-nl.c
diff options
context:
space:
mode:
Diffstat (limited to 'validation/preprocessor/expand-and-nl.c')
-rw-r--r--validation/preprocessor/expand-and-nl.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/validation/preprocessor/expand-and-nl.c b/validation/preprocessor/expand-and-nl.c
new file mode 100644
index 00000000..1a5f2265
--- /dev/null
+++ b/validation/preprocessor/expand-and-nl.c
@@ -0,0 +1,13 @@
+#define M(X) X-X
+
+M(a
+b)
+/*
+ * check-name: expand-and-nl
+ * check-command: sparse -E $file
+ *
+ * check-output-start
+
+a b-a b
+ * check-output-end
+ */