summaryrefslogtreecommitdiffstats
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
commitce87a7e45c520a27f964ac845eaaf7fab2146c15 (patch)
tree7d8bfa9503e5a5621836c78a96e9e4f75323ee99
parent19ec4ee093647df1939859e58ddd1705e7022459 (diff)
downloadbcm5719-llvm-ce87a7e45c520a27f964ac845eaaf7fab2146c15.tar.gz
bcm5719-llvm-ce87a7e45c520a27f964ac845eaaf7fab2146c15.zip
long => int to make the test pass on system where sizeof(long) = 64.
llvm-svn: 120005
-rw-r--r--clang/test/CodeGen/ms-anonymous-struct.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGen/ms-anonymous-struct.c b/clang/test/CodeGen/ms-anonymous-struct.c
index 280a40cca93..2dec521cd38 100644
--- a/clang/test/CodeGen/ms-anonymous-struct.c
+++ b/clang/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 }
OpenPOWER on IntegriCloud