summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr86271.c
blob: 1200533d4d97884f39258f755adbf5d928b79e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */
/* { dg-options "-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;
}