diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-12 20:49:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-12 20:49:41 +0000 |
commit | fdfeb6976f07ad10d809b922ed7376ba2a3539be (patch) | |
tree | f6ba4446fc9db081e5e3386c57d2db253774c1fa /test/Assembler | |
parent | b3e1bf54b29354c6d332cfaffcc86cd776fd4ca8 (diff) | |
download | llvm-fdfeb6976f07ad10d809b922ed7376ba2a3539be.tar.gz llvm-fdfeb6976f07ad10d809b922ed7376ba2a3539be.tar.bz2 llvm-fdfeb6976f07ad10d809b922ed7376ba2a3539be.tar.xz |
Add support for a union type in LLVM IR. Patch by Talin!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-rw-r--r-- | test/Assembler/2010-01-06-UnionType.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Assembler/2010-01-06-UnionType.ll b/test/Assembler/2010-01-06-UnionType.ll new file mode 100644 index 0000000000..37130d6608 --- /dev/null +++ b/test/Assembler/2010-01-06-UnionType.ll @@ -0,0 +1,3 @@ +; RUN: llvm-as %s -o /dev/null + +%X = type union { i32, i32* } |