blob: 9cdf4a0ef245ffd81bedb3f8e6e84e9a2a6293ff [file] [log] [blame]
Chris Lattnerf7a2f092009-01-09 18:18:43 +00001; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis
2; 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}