* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20041213-1.c
blob990273714472dd9ae443faba7edf72b342e8e504
1 /* { dg-do compile } */
2 /* test redeclarations with void and implicit int */
3 extern foo1(); /* { dg-error "error: previous declaration" } */
4 extern void foo1(); /* { dg-error "error: conflicting types" } */
6 extern void foo2(); /* { dg-error "error: previous declaration" } */
7 extern foo2(); /* { dg-error "error: conflicting types" } */
9 void foo3() {} /* { dg-error "error: previous definition" } */
10 extern foo3(); /* { dg-error "error: conflicting types" } */
12 extern foo4(); /* { dg-error "error: previous declaration" } */
13 void foo4() {} /* { dg-error "error: conflicting types" } */
15 extern void foo5(); /* { dg-warning "previous declaration" } */
16 foo5() {} /* { dg-warning "conflicting types" } */
18 foo6() {} /* { dg-error "error: previous definition" } */
19 extern void foo6(); /* { dg-error "error: conflicting types" } */
21 foo7() {} /* { dg-error "error: previous definition" } */
22 void foo7() {} /* { dg-error "error: conflicting types" } */
24 void foo8() {} /* { dg-error "error: previous definition" } */
25 foo8() {} /* { dg-error "error: conflicting types" } */
27 int use9() { foo9(); } /* { dg-warning "previous implicit declaration" } */
28 extern void foo9(); /* { dg-warning "conflicting types" } */
30 int use10() { foo10(); } /* { dg-warning "previous implicit declaration" } */
31 void foo10() {} /* { dg-warning "conflicting types" } */