gcc/gcc/testsuite/c-c++-common/analyzer/data-model-12.c

15 lines
187 B
C

/* Mismatching decl of foo. */
/* { dg-additional-options "-std=gnu17" { target c } } */
int foo ();
int bar (void)
{
return foo() + 1;
}
int foo (int x, int y)
{
return x * y;
}