blob: 63a3fe25eb0d6f519c206ebd9956bccc68ee6714 [file] [log] [blame]
Chris Lattnerd5d51722010-02-12 20:49:41 +00001; RUN: llvm-as < %s | llvm-dis > %t1.ll
2; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3; RUN: diff %t1.ll %t2.ll
Chris Lattnerab6e1fa2010-03-16 20:08:07 +00004; XFAIL: *
Chris Lattnerd5d51722010-02-12 20:49:41 +00005%union.anon = type union { i8, i32, float }
6
7@union1 = constant union { i32, i8 } { i32 4 }
8@union2 = constant union { i32, i8 } insertvalue(union { i32, i8 } undef, i32 4, 0)
9
10define void @"Unions" () {
11 ret void
12}