2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr35899.c
blobfca3a3d8621707259d2117288339e31b6cd8a31c
1 /* PR tree-optimization/35899 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 int
6 foo (void)
8 int a = bar ();
9 return a;
12 void
13 bar (void) /* { dg-warning "conflicting types for" } */
17 /* { dg-message "note: previous implicit declaration" "" { target *-*-* } 8 } */