| 1 | // RUN: %clang_cc1 -fsyntax-only -W -Wall -Werror -verify %s |
|---|---|
| 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 | } |
| 13 |
| 1 | // RUN: %clang_cc1 -fsyntax-only -W -Wall -Werror -verify %s |
|---|---|
| 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 | } |
| 13 |