mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
2265d6280b
llvm-svn: 96011
13 lines
331 B
LLVM
13 lines
331 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)
|
|
|
|
define void @"Unions" () {
|
|
ret void
|
|
}
|