• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=x86 | FileCheck %s
2
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 %testType
12  volatile store %testType {i32 1, [0 x i32] zeroinitializer, i32 2}, %testType* %1
13  ret void
14}
15