11fe_only -DTEST_NUMBER=1 --clang -tused -e 200 --no_wrap_diagnostics --clang_version 999999 --exceptions --exceptions --c++11 Test_name.c
2- "Test_name.c", line 25: warning: missing return statement at end of non-void function "abort_struct_complex_cfgs::f1"
3- }
4- ^
5-
6- "Test_name.c", line 28: warning: missing return statement at end of non-void function "abort_struct_complex_cfgs::f2"
7- }
8- ^
9-
102"Test_name.c", line 31: warning: missing return statement at end of non-void function "abort_struct_complex_cfgs::f2_positive"
113 } // expected-warning {{non-void function does not return a value}}
124 ^
135
14- "Test_name.c", line 34: warning: missing return statement at end of non-void function "abort_struct_complex_cfgs::f3"
15- }
16- ^
17-
18- "Test_name.c", line 37: warning: missing return statement at end of non-void function "abort_struct_complex_cfgs::f4"
19- }
20- ^
21-
226"Test_name.c", line 36: warning: label "L1" was declared but never referenced
237 switch (x) default: L1: L2: case 4: pr6884_abort_struct();
248 ^
@@ -27,10 +11,6 @@ fe_only -DTEST_NUMBER=1 --clang -tused -e 200 --no_wrap_diagnostics --clang_vers
2711 switch (x) default: L1: L2: case 4: pr6884_abort_struct();
2812 ^
2913
30- "Test_name.c", line 40: warning: missing return statement at end of non-void function "abort_struct_complex_cfgs::f5"
31- }
32- ^
33-
3414"Test_name.c", line 39: warning: label "L1" was declared but never referenced
3515 switch (x) default: L1: { L2: case 4: pr6884_abort_struct(); }
3616 ^
@@ -39,10 +19,6 @@ fe_only -DTEST_NUMBER=1 --clang -tused -e 200 --no_wrap_diagnostics --clang_vers
3919 switch (x) default: L1: { L2: case 4: pr6884_abort_struct(); }
4020 ^
4121
42- "Test_name.c", line 43: warning: missing return statement at end of non-void function "abort_struct_complex_cfgs::f6"
43- }
44- ^
45-
4622"Test_name.c", line 42: warning: label "L1" was declared but never referenced
4723 switch (x) default: L1: L2: case 4: { pr6884_abort_struct(); }
4824 ^
@@ -63,26 +39,10 @@ fe_only -DTEST_NUMBER=1 --clang -tused -e 200 --no_wrap_diagnostics --clang_vers
6339 switch (x) default: L1: L2: case 4: {
6440 ^
6541
66- "Test_name.c", line 58: warning: missing return statement at end of non-void function "abort_struct_complex_cfgs::g1"
67- }
68- ^
69-
70- "Test_name.c", line 62: warning: missing return statement at end of non-void function "abort_struct_complex_cfgs::g2"
71- }
72- ^
73-
7442"Test_name.c", line 66: warning: missing return statement at end of non-void function "abort_struct_complex_cfgs::g2_positive"
7543 } // expected-warning {{non-void function does not return a value}}
7644 ^
7745
78- "Test_name.c", line 70: warning: missing return statement at end of non-void function "abort_struct_complex_cfgs::g3"
79- }
80- ^
81-
82- "Test_name.c", line 74: warning: missing return statement at end of non-void function "abort_struct_complex_cfgs::g4"
83- }
84- ^
85-
8646"Test_name.c", line 73: warning: label "L1" was declared but never referenced
8747 switch (x) default: L1: L2: case 4: pr6884_abort_struct();
8848 ^
@@ -91,10 +51,6 @@ fe_only -DTEST_NUMBER=1 --clang -tused -e 200 --no_wrap_diagnostics --clang_vers
9151 switch (x) default: L1: L2: case 4: pr6884_abort_struct();
9252 ^
9353
94- "Test_name.c", line 78: warning: missing return statement at end of non-void function "abort_struct_complex_cfgs::g5"
95- }
96- ^
97-
9854"Test_name.c", line 77: warning: label "L1" was declared but never referenced
9955 switch (x) default: L1: { L2: case 4: pr6884_abort_struct(); }
10056 ^
@@ -103,10 +59,6 @@ fe_only -DTEST_NUMBER=1 --clang -tused -e 200 --no_wrap_diagnostics --clang_vers
10359 switch (x) default: L1: { L2: case 4: pr6884_abort_struct(); }
10460 ^
10561
106- "Test_name.c", line 82: warning: missing return statement at end of non-void function "abort_struct_complex_cfgs::g6"
107- }
108- ^
109-
11062"Test_name.c", line 81: warning: label "L1" was declared but never referenced
11163 switch (x) default: L1: L2: case 4: { pr6884_abort_struct(); }
11264 ^
@@ -167,10 +119,6 @@ fe_only -DTEST_NUMBER=1 --clang -tused -e 200 --no_wrap_diagnostics --clang_vers
167119 } // expected-warning {{non-void function does not return a value}}
168120 ^
169121
170- "Test_name.c", line 162: warning: missing return statement at end of non-void function "testTernaryUnconditionalNoreturn"
171- }
172- ^
173-
174122"Test_name.c", line 166: warning: missing return statement at end of non-void function "testTernaryStaticallyConditionalNoretrunOnTrue"
175123 }
176124 ^
0 commit comments