blob: d9d83744781d17c0137e044b09dafaa7bc2a3998 [file] [log] [blame]
Evan Cheng742db682010-03-29 21:27:30 +00001; RUN: llc < %s
2; PR4975
3
4%0 = type <{ [0 x i32] }>
5%union.T0 = type { }
6
7@.str = private constant [1 x i8] c" "
8
Rafael Espindola29dda212010-06-17 15:18:27 +00009define void @t(%0) nounwind {
Evan Cheng742db682010-03-29 21:27:30 +000010entry:
11 %arg0 = alloca %union.T0
12 %1 = bitcast %union.T0* %arg0 to %0*
13 store %0 %0, %0* %1, align 1
14 ret void
15}
16
Rafael Espindola29dda212010-06-17 15:18:27 +000017declare i32 @printf(i8*, ...)