diff options
Diffstat (limited to 'tests/tcctest.c')
| -rw-r--r-- | tests/tcctest.c | 4 |
1 files changed, 4 insertions, 0 deletions
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"); |
