| 1 | // RUN: %clang_cc1 -fsyntax-only -Wunused-variable -Werror -verify %s |
|---|---|
| 2 | |
| 3 | void f() { |
| 4 | int i; // expected-error{{unused}} |
| 5 | int j; // expected-error{{unused}} |
| 6 | } |
| 7 |
| 1 | // RUN: %clang_cc1 -fsyntax-only -Wunused-variable -Werror -verify %s |
|---|---|
| 2 | |
| 3 | void f() { |
| 4 | int i; // expected-error{{unused}} |
| 5 | int j; // expected-error{{unused}} |
| 6 | } |
| 7 |