OSDN Git Service

2008-04-27 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr35899.c
1 /* PR tree-optimization/35899 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4
5 int
6 foo (void)
7 {
8   int a = bar ();       /* { dg-warning "previous implicit declaration" } */
9   return a;
10 }
11
12 void
13 bar (void)              /* { dg-warning "conflicting types for" } */
14 {
15 }