aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Pichet <pichet2000@gmail.com>2010-11-23 07:15:13 +0000
committerFrancois Pichet <pichet2000@gmail.com>2010-11-23 07:15:13 +0000
commit02a8078b9de108b6d0c33f488ebf06cb826cf4b6 (patch)
tree90ec257f942f5a70981c576653cc1a55260e7f40
parentcc7bd10c0de9449b795bda3c5dcc6d83cc48436b (diff)
long => int to make the test pass on system where sizeof(long) = 64.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120005 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/ms-anonymous-struct.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/ms-anonymous-struct.c b/test/CodeGen/ms-anonymous-struct.c
index 280a40cca9..2dec521cd3 100644
--- a/test/CodeGen/ms-anonymous-struct.c
+++ b/test/CodeGen/ms-anonymous-struct.c
@@ -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 }