diff tests/t37.c @ 146:15f51ed08ecf

Add more tests for some degenerate cases we don't handle right.
author David A. Holland
date Sat, 13 Jul 2013 14:47:29 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/t37.c	Sat Jul 13 14:47:29 2013 -0400
@@ -0,0 +1,19 @@
+#define BC //**/*
+#define EC */**//
+
+BC
+comment?
+EC
+
+BC comment? EC
+
+#define FOO(x) x
+FOO(abc BC def EC ghi)
+
+#define BAR(x, y) x y
+BAR(abc BC def, ghi EC jkl)
+
+BC
+#define BAZ baz
+EC
+BAZ