[hackers] [scc] [cc1] Add test for hexadecimal numbers with upper and lower case || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Wed, 11 May 2016 16:57:29 +0200 (CEST)

commit 3ea9ea8edc499da466a8555e9424a8d92e3e7526
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed May 11 16:56:38 2016 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
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
_AT_@ -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;
+}
Received on Wed May 11 2016 - 16:57:29 CEST

This archive was generated by hypermail 2.3.0 : Wed May 11 2016 - 17:00:18 CEST