summaryrefslogtreecommitdiff
path: root/test/CodeGen/override-layout.c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-26 18:38:13 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-26 18:38:13 +0000
commitb9cd498fd40fef5e2eed987ae2c31d0bfdf35f8d (patch)
treeeae62bcbe37e716b53a191e17326a3625dd51a93 /test/CodeGen/override-layout.c
parent4fe19b5bf0db0cbe6afa280ed9f52ed4cb631e53 (diff)
downloadclang-b9cd498fd40fef5e2eed987ae2c31d0bfdf35f8d.tar.gz
Try harder to get X7 defined
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/override-layout.c')
-rw-r--r--test/CodeGen/override-layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/override-layout.c b/test/CodeGen/override-layout.c
index dd7e953ade..99c2cd656e 100644
--- a/test/CodeGen/override-layout.c
+++ b/test/CodeGen/override-layout.c
@@ -136,6 +136,7 @@ void use_structs() {
x6.b = sizeof(struct X6);
struct X7 x7;
+ typedef int X7array[sizeof(struct X7)];
x7.x = sizeof(struct X7);
x7.y = x7.x;