]> granicus.if.org Git - clang/commitdiff
long => int to make the test pass on system where sizeof(long) = 64.
authorFrancois Pichet <pichet2000@gmail.com>
Tue, 23 Nov 2010 07:15:13 +0000 (07:15 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Tue, 23 Nov 2010 07:15:13 +0000 (07:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120005 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ms-anonymous-struct.c

index 280a40cca93fa26233ee9e8b9bd2926517f5c58b..2dec521cd381eebbef49d54c52b1337fdb2c0865 100644 (file)
@@ -2,15 +2,15 @@
 \r
 // CHECK: %struct.nested1 = type { i32, i32 }\r
 typedef struct nested1 {\r
-    long a1;\r
-    long b1;\r
+    int a1;\r
+    int b1;\r
 } NESTED1;\r
 \r
 // CHECK: %struct.nested2 = type { i32, %struct.nested1, i32 }\r
 struct nested2 {\r
-    long a;\r
+    int a;\r
     NESTED1; \r
-    long b;\r
+    int b;\r
 };\r
 \r
 // CHECK: %struct.test = type { i32, %struct.nested2, i32 }\r