[llvm-commits] CVS: llvm/test/Regression/CFrontend/2002-07-29-Casts.c

Chris Lattner lattner at cs.uiuc.edu
Fri Apr 25 14:50:01 PDT 2003


Changes in directory llvm/test/Regression/CFrontend:

2002-07-29-Casts.c updated: 1.1 -> 1.2

---
Log message:

Fix bugs in testcase


---
Diffs of the changes:

Index: llvm/test/Regression/CFrontend/2002-07-29-Casts.c
diff -u llvm/test/Regression/CFrontend/2002-07-29-Casts.c:1.1 llvm/test/Regression/CFrontend/2002-07-29-Casts.c:1.2
--- llvm/test/Regression/CFrontend/2002-07-29-Casts.c:1.1	Mon Jul 29 14:39:52 2002
+++ llvm/test/Regression/CFrontend/2002-07-29-Casts.c	Fri Apr 25 14:49:36 2003
@@ -7,8 +7,8 @@
 {
   char     c1;
   short    s1, ssf1, ssd1;
-  uint8_t  ubs0;
-  int8_t   bs0;
+  unsigned char  ubs0;
+  signed char   bs0;
   unsigned char ubc0, uc2;
   unsigned short us2, usf1, usd1;
   int ic3, is3, sif1, sid1;
@@ -24,8 +24,8 @@
   s1 = (short) (argc >= 3)? atoi(argv[2]) : -769;   /* 0xf7ff = -769 */
   
   ubc0 = (unsigned char) c1;                      /* 100 = 'd' */
-  ubs0 = (uint8_t) s1;                            /* 0xff = 255 */
-  bs0  = (int8_t) s1;                             /* 0xff = -1 */
+  ubs0 = (unsigned char) s1;                            /* 0xff = 255 */
+  bs0  = (signed char) s1;                             /* 0xff = -1 */
   
   uc2 = (unsigned char) c1;                       /* 100 = 'd' */
   us2 = (unsigned short) s1;                      /* 0xf7ff = 64767 */





More information about the llvm-commits mailing list