scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 3ea9ea8edc499da466a8555e9424a8d92e3e7526
parent a8037f55854706a8d4c66e71ab14f8f3628ae4ee
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 11 May 2016 16:56:38 +0200

[cc1] Add test for hexadecimal numbers with upper and lower case

Diffstat:
Acc1/tests/test062.c | 22++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)

diff --git a/cc1/tests/test062.c b/cc1/tests/test062.c @@ -0,0 +1,22 @@ +/* +name: TEST062 +description: Test for hexadecimal numbers in upper and lower case +error: +output: +G2 I F "main +{ +\ + h #I1 +} +*/ + +int +main(void) +{ + return 0xa == 0xA && + 0xb == 0xB && + 0xc == 0xC && + 0xd == 0xD && + 0xe == 0xE && + 0xf == 0xF; +}