1
; RUN: not llvm-as %s -o /dev/null |& grep {use of undefined type named 'struct.D_Scope'}
4
@d_reduction_0_dparser_gram = global {
5
i32 (i8*, i8**, i32, i32, {
6
%struct.Grammar*, void (\4, %struct.d_loc_t*, i8**)*, %struct.D_Scope*,
7
void (\4)*, { i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
8
void (\8, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
9
%struct.ParseNode_User }* (\4, i32, { i32, %struct.d_loc_t, i8*, i8*,
10
%struct.D_Scope*, void (\9, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
11
%struct.ParseNode_User }**)*,
12
void ({ i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
13
void (\8, %struct.d_loc_t*, i8**)*,
14
%struct.Grammar*, %struct.ParseNode_User }*)*,
15
%struct.d_loc_t, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32,
17
i32 (i8*, i8**, i32, i32, { %struct.Grammar*,
18
void (\4, %struct.d_loc_t*, i8**)*, %struct.D_Scope*, void (\4)*, {
19
i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
20
void (\8, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
21
%struct.ParseNode_User }* (\4, i32, { i32, %struct.d_loc_t, i8*, i8*,
22
%struct.D_Scope*, void (\9, %struct.d_loc_t*, i8**)*,
23
%struct.Grammar*, %struct.ParseNode_User }**)*,
24
void ({ i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
25
void (\8, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
26
%struct.ParseNode_User }*)*, %struct.d_loc_t, i32, i32, i32, i32,
27
i32, i32, i32, i32, i32, i32, i32, i32 }*)** }
29
{ i32 (i8*, i8**, i32, i32, {
30
%struct.Grammar*, void (\4, %struct.d_loc_t*, i8**)*,
31
%struct.D_Scope*, void (\4)*, {
32
i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
33
void (\8, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
34
%struct.ParseNode_User
35
}* (\4, i32, { i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
36
void (\9, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
37
%struct.ParseNode_User }**)*,
38
void ({ i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
39
void (\8, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
40
%struct.ParseNode_User }*)*,
41
%struct.d_loc_t, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32,
43
i32 (i8*, i8**, i32, i32, {
44
%struct.Grammar*, void (\4, %struct.d_loc_t*, i8**)*,
45
%struct.D_Scope*, void (\4)*, { i32, %struct.d_loc_t, i8*, i8*,
46
%struct.D_Scope*, void (\8, %struct.d_loc_t*, i8**)*,
47
%struct.Grammar*, %struct.ParseNode_User }* (\4, i32, { i32,
48
%struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
49
void (\9, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
50
%struct.ParseNode_User }**)*,
51
void ({ i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
52
void (\8, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
53
%struct.ParseNode_User }*)*, %struct.d_loc_t, i32, i32, i32,
54
i32, i32, i32, i32, i32, i32, i32, i32, i32 }*)** null