llvm-6502/test/Transforms/ScalarRepl/2009-01-09-scalarrepl-empty.ll
Chris Lattner 583dd6072e Fix PR3304
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61995 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-09 18:18:43 +00:00

16 lines
524 B
LLVM

; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis
; PR3304
%struct.c37304a__vrec = type { i8, %struct.c37304a__vrec___disc___XVN }
%struct.c37304a__vrec___disc___XVN = type {
%struct.c37304a__vrec___disc___XVN___O }
%struct.c37304a__vrec___disc___XVN___O = type { }
define void @_ada_c37304a() {
entry:
%v = alloca %struct.c37304a__vrec ;
%0 = getelementptr %struct.c37304a__vrec* %v, i32 0, i32 0
store i8 8, i8* %0, align 1
unreachable
}