mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
d7ba0f2ade
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99818 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
394 B
LLVM
15 lines
394 B
LLVM
; RUN: llvm-as < %s | llvm-dis > %t1.ll
|
|
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
|
|
; RUN: diff %t1.ll %t2.ll
|
|
|
|
%union.anon = type union { i8, i32, float }
|
|
|
|
@union1 = constant union { i32, i8 } { i32 4 }
|
|
@union2 = constant union { i32, i8 } insertvalue(union { i32, i8 } undef, i32 4, 0)
|
|
@union3 = common global %union.anon zeroinitializer, align 8
|
|
|
|
define void @"Unions" () {
|
|
ret void
|
|
}
|
|
|