aboutsummaryrefslogtreecommitdiff
path: root/tests/pp
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2016-04-14 21:46:46 +0300
committerseyko <seyko2@gmail.com>2016-04-14 21:46:46 +0300
commit16cbca281fe5d22cd3e6f548cae59d19c31d30ac (patch)
tree4921266adc409f06327db5773073b5b5128a54c6 /tests/pp
parent5fb57bead41cd3a84f0aa3f98d00b5fe5de25a08 (diff)
downloadtinycc-16cbca281fe5d22cd3e6f548cae59d19c31d30ac.tar.gz
tinycc-16cbca281fe5d22cd3e6f548cae59d19c31d30ac.tar.bz2
fix preprocessing *.S with ` ' chars in #comments
with a test program. Problem detected when trying to compile linux-2.4.37.9 with tcc.
Diffstat (limited to 'tests/pp')
-rw-r--r--tests/pp/13.S6
-rw-r--r--tests/pp/13.expect6
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/pp/13.S b/tests/pp/13.S
new file mode 100644
index 0000000..bf0b525
--- /dev/null
+++ b/tests/pp/13.S
@@ -0,0 +1,6 @@
+# `modelist' label. Each video mode record looks like:
+#ifdef AAA
+# modelist' label. Each video mode record looks like:
+#endif
+.text
+endtext:
diff --git a/tests/pp/13.expect b/tests/pp/13.expect
new file mode 100644
index 0000000..3532dd7
--- /dev/null
+++ b/tests/pp/13.expect
@@ -0,0 +1,6 @@
+# `modelist' label. Each video mode record looks like:
+
+
+
+.text
+endtext: