changeset 131:a6d02e6ca543

Test single-quote strings / character constants.
author David A. Holland
date Sun, 16 Jun 2013 22:08:06 -0400
parents b4f97f6b32c2
children de48a105d106
files tests/t31.c tests/t31.good
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/t31.c	Sun Jun 16 22:08:06 2013 -0400
@@ -0,0 +1,6 @@
+this line 'has /* no' comment */ in it
+
+#define BELCH(x) 'x'
+"BELCH(123)": BELCH(123)
+'BELCH(123)': BELCH(123)
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/t31.good	Sun Jun 16 22:08:06 2013 -0400
@@ -0,0 +1,3 @@
+this line 'has /* no' comment */ in it
+"BELCH(123)": '123'
+'BELCH(123)': '123'