1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86 | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker; Don't crash on an empty struct member. 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Worker; CHECK: movl $2, 4(%esp) 6*9880d681SAndroid Build Coastguard Worker; CHECK: movl $1, (%esp) 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard Worker%testType = type {i32, [0 x i32], i32} 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard Workerdefine void @foo() nounwind { 11*9880d681SAndroid Build Coastguard Worker %1 = alloca %testType 12*9880d681SAndroid Build Coastguard Worker store volatile %testType {i32 1, [0 x i32] zeroinitializer, i32 2}, %testType* %1 13*9880d681SAndroid Build Coastguard Worker ret void 14*9880d681SAndroid Build Coastguard Worker} 15