commit 3ea9ea8edc499da466a8555e9424a8d92e3e7526
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Wed May 11 16:56:38 2016 +0200
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Wed May 11 16:56:38 2016 +0200

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

diff --git a/cc1/tests/test062.c b/cc1/tests/test062.c
new file mode 100644
index 0000000..519fe11
--- /dev/null
+++ 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;
+}

Reply via email to