[cfe-commits] r120005 - /cfe/trunk/test/CodeGen/ms-anonymous-struct.c

Francois Pichet pichet2000 at gmail.com
Mon Nov 22 23:15:13 PST 2010


Author: fpichet
Date: Tue Nov 23 01:15:13 2010
New Revision: 120005

URL: http://llvm.org/viewvc/llvm-project?rev=120005&view=rev
Log:
long => int to make the test pass on system where sizeof(long) = 64.

Modified:
    cfe/trunk/test/CodeGen/ms-anonymous-struct.c

Modified: cfe/trunk/test/CodeGen/ms-anonymous-struct.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/ms-anonymous-struct.c?rev=120005&r1=120004&r2=120005&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/ms-anonymous-struct.c (original)
+++ cfe/trunk/test/CodeGen/ms-anonymous-struct.c Tue Nov 23 01:15:13 2010
@@ -2,15 +2,15 @@
 
 // CHECK: %struct.nested1 = type { i32, i32 }
 typedef struct nested1 {
-    long a1;
-    long b1;
+    int a1;
+    int b1;
 } NESTED1;
 
 // CHECK: %struct.nested2 = type { i32, %struct.nested1, i32 }
 struct nested2 {
-    long a;
+    int a;
     NESTED1; 
-    long b;
+    int b;
 };
 
 // CHECK: %struct.test = type { i32, %struct.nested2, i32 }





More information about the cfe-commits mailing list