1; RUN: llc < %s
2; PR4975
3
4; NVPTX does not support zero sized type arg
5; UNSUPPORTED: nvptx
6
7%0 = type <{ [0 x i32] }>
8%union.T0 = type { }
9
10@.str = private constant [1 x i8] c" "
11
12define void @t(%0) nounwind {
13entry:
14  %arg0 = alloca %union.T0
15  %1 = bitcast %union.T0* %arg0 to %0*
16  store %0 %0, %0* %1, align 1
17  ret void
18}
19
20declare i32 @printf(i8*, ...)
21