| 1 |
// RUN: %clang_cc1 -fsyntax-only -W -Wall -Wno-deprecated-non-prototype -Werror -verify %s -std=c99 |
| 2 |
// expected-no-diagnostics |
| 3 |
|
| 4 |
int f(int i __attribute__((__unused__))) |
| 5 |
{ |
| 6 |
return 0; |
| 7 |
} |
| 8 |
int g(i) |
| 9 |
int i __attribute__((__unused__)); |
| 10 |
{ |
| 11 |
return 0; |
| 12 |
} |