blob: 725a9b6d9c75984c35b401f7934552edea56b801 [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:
11 %v = alloca %struct.c37304a__vrec ;
12 %0 = getelementptr %struct.c37304a__vrec* %v, i32 0, i32 0
13 store i8 8, i8* %0, align 1
14 unreachable
15}