shithub: scc

Download patch

ref: 4988d317992e59bac97c4e1c86d40fae6bcc24fe
parent: ac6e94fdddcf0f9584223e1dfc356c940eb2ed18
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed May 11 12:56:38 EDT 2016

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

--- /dev/null
+++ b/cc1/tests/test062.c
@@ -1,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;
+}