| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-fpermissive -O2" } */ |
| 3 |
|
| 4 |
int main () |
| 5 |
{ |
| 6 |
int i; |
| 7 |
foobar (i, &i); /* { dg-warning "implicit declaration" } */ |
| 8 |
} |
| 9 |
|
| 10 |
int foobar (int a, long long b) |
| 11 |
{ |
| 12 |
int c; |
| 13 |
|
| 14 |
c = a % b; |
| 15 |
a = a / b; |
| 16 |
return a + b; |
| 17 |
} |