blob: 113cbc87a7dab789c1d0da99bc1638922c38a58d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* PR tree-optimization/35899 */
/* { dg-do compile } */
/* { dg-options "-O2" } */
int
foo (void)
{
int a = bar (); /* { dg-warning "previous implicit declaration" } */
return a;
}
void
bar (void) /* { dg-warning "conflicting types for" } */
{
}
|