Expect c99 support in tcctest.c
commitc085645f981bcefb52d0d42712cbbdc350c12453
authorMichael Matz <matz@suse.de>
Wed, 15 Apr 2020 00:06:44 +0000 (15 02:06 +0200)
committerMichael Matz <matz@suse.de>
Wed, 15 Apr 2020 00:28:23 +0000 (15 02:28 +0200)
treec435932abe6ea2f21f8b8e37463a361cf0008ba7
parent00fbf65524dbe0b06194cbde4f778651572e433c
Expect c99 support in tcctest.c

the support for the macro GCC_MAJOR is gone since 2017, and it's
fairly doubtful that anyone serious is using gcc 2.95.

Also adds a test for the ternary ops typing rules: 'x?bool:bool' has
to promote to int.
tests/tcctest.c