aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/analyzer/data-model-12.c
blob: e4a7fbdae442f3e2b97f5346ae5b813eee634e23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* 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;
}