aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr86271.c
blob: f020c1b1e2fc2bdab790e43165e543c2f77ccb61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */
/* { dg-options "-fpermissive -O2" } */

int main ()
{
  int i;
  foobar (i, &i); /* { dg-warning "implicit declaration" } */
}

int foobar (int a, long long b)
{
  int c;

  c = a % b;
  a = a / b;
  return a + b;
}