summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr61852.c
blob: f488aca7ac2fe5b909d35cc4642e1203bfdbec0d (plain)
1
2
3
4
5
6
7
8
9
10
/* PR c/61852 */
/* { dg-do compile } */
/* { dg-options "-Wimplicit-function-declaration" } */

int
f (int a)
{
  int b = a + a + a + ff (a); /* { dg-warning "23:implicit declaration of function" } */
  return b;
}