15 lines · plain
1; RUN: llc < %s -mtriple=i686-- | FileCheck %s2 3; Don't crash on an empty struct member.4 5; CHECK: movl $2, 4(%esp)6; CHECK: movl $1, (%esp)7 8%testType = type {i32, [0 x i32], i32}9 10define void @foo() nounwind {11 %1 = alloca %testType12 store volatile %testType {i32 1, [0 x i32] zeroinitializer, i32 2}, ptr %113 ret void14}15