blob: 62f7d19dbdabb9b8bc2d8bf57afae37b81de7627 [file] [log] [blame]
Dan Gohman3c7d3082009-09-11 18:01:28 +00001; RUN: opt < %s -scalarrepl | llvm-dis
Chris Lattnerf7a2f092009-01-09 18:18:43 +00002; PR3304
3
4 %struct.c37304a__vrec = type { i8, %struct.c37304a__vrec___disc___XVN }
5 %struct.c37304a__vrec___disc___XVN = type {
6%struct.c37304a__vrec___disc___XVN___O }
7 %struct.c37304a__vrec___disc___XVN___O = type { }
8
9define void @_ada_c37304a() {
10entry:
Dan Gohman81bc62c2010-01-05 17:55:26 +000011 %v = alloca %struct.c37304a__vrec
Chris Lattnerf7a2f092009-01-09 18:18:43 +000012 %0 = getelementptr %struct.c37304a__vrec* %v, i32 0, i32 0
13 store i8 8, i8* %0, align 1
14 unreachable
15}