From 71b16f4e18b2794b76cc80cb7d0303243656b050 Mon Sep 17 00:00:00 2001 From: grischka Date: Sun, 9 Oct 2016 20:33:14 +0200 Subject: tccpp : "tcc -E -P" : suppress empty lines Also: - regenerate all tests/pp/*.expect with gcc - test "insert one space" feature - test "0x1E-1" in asm mode case - PARSE_FLAG_SPACES: ignore \f\v\r better - tcc.h: move some things --- tests/tcctest.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/tcctest.c') diff --git a/tests/tcctest.c b/tests/tcctest.c index e55dc05..abe15f8 100644 --- a/tests/tcctest.c +++ b/tests/tcctest.c @@ -2573,6 +2573,10 @@ void asm_test(void) unsigned int val; printf("inline asm:\n"); + + // parse 0x1E-1 as 3 tokens in asm mode + asm volatile ("mov $0x1E-1,%eax"); + /* test the no operand case */ asm volatile ("xorl %eax, %eax"); -- cgit v1.3.1