aboutsummaryrefslogtreecommitdiff
path: root/tests/pp/15.expect
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2016-05-01 05:43:57 +0300
committerseyko <seyko2@gmail.com>2016-05-01 05:43:57 +0300
commita1c139063b9157c804fd76eedb6a8060726fe0d5 (patch)
tree59ccd96c58dbe63c9244fdf7d957a044a4df5ef9 /tests/pp/15.expect
parent256078933c8152038fd0d4fbff1d92b3bb3a14a3 (diff)
downloadtinycc-a1c139063b9157c804fd76eedb6a8060726fe0d5.tar.gz
tinycc-a1c139063b9157c804fd76eedb6a8060726fe0d5.tar.bz2
output space after TOK_PPNUM which followed by '+' or '-'
* correct -E output for the case ++ + ++ concatenation do this only for expanded from macro string and only when tcc_state->output_type == TCC_OUTPUT_PREPROCESS
Diffstat (limited to 'tests/pp/15.expect')
-rw-r--r--tests/pp/15.expect6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pp/15.expect b/tests/pp/15.expect
new file mode 100644
index 0000000..7ccee4a
--- /dev/null
+++ b/tests/pp/15.expect
@@ -0,0 +1,6 @@
+Z(1)
+Z(Z(1))
+Z(Z(Z(Z(Z(1)))))
+return A + B;
+return A+1 + B+1;
+return A1+3 +2 +1 + B1+1 +3 +2;