aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/ms-anonymous-struct.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-07-09 17:41:47 +0000
committerChris Lattner <sabre@nondot.org>2011-07-09 17:41:47 +0000
commita5f58b05e82a06b5491c74d3a18c3ee1c749f77b (patch)
tree3de2a264c644e13e02ae7bf60329e62ad8f50901 /clang/test/CodeGen/ms-anonymous-struct.c
parentb1ed91f3978377294d4620c53ca81beed08b73c7 (diff)
downloadllvm-a5f58b05e82a06b5491c74d3a18c3ee1c749f77b.zip
llvm-a5f58b05e82a06b5491c74d3a18c3ee1c749f77b.tar.gz
llvm-a5f58b05e82a06b5491c74d3a18c3ee1c749f77b.tar.bz2
clang side to match the LLVM IR type system rewrite patch.
llvm-svn: 134831
Diffstat (limited to 'clang/test/CodeGen/ms-anonymous-struct.c')
-rw-r--r--clang/test/CodeGen/ms-anonymous-struct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/ms-anonymous-struct.c b/clang/test/CodeGen/ms-anonymous-struct.c
index 3afe440..b41caab 100644
--- a/clang/test/CodeGen/ms-anonymous-struct.c
+++ b/clang/test/CodeGen/ms-anonymous-struct.c
@@ -1,19 +1,19 @@
// RUN: %clang_cc1 -fms-extensions -emit-llvm -o - %s | FileCheck %s
+// CHECK: %struct.test = type { i32, %struct.nested2, i32 }
+// CHECK: %struct.nested2 = type { i32, %struct.nested1, i32 }
// CHECK: %struct.nested1 = type { i32, i32 }
typedef struct nested1 {
int a1;
int b1;
} NESTED1;
-// CHECK: %struct.nested2 = type { i32, %struct.nested1, i32 }
struct nested2 {
int a;
NESTED1;
int b;
};
-// CHECK: %struct.test = type { i32, %struct.nested2, i32 }
struct test {
int x;
struct nested2;