1 | // RUN: %clang_cc1 -fsyntax-only -Wunused-parameter -Wunused -verify %s |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | struct S { |
5 | void m(int x, int y) { |
6 | int z; |
7 | #pragma unused(x,y,z) |
8 | } |
9 | }; |
10 |
1 | // RUN: %clang_cc1 -fsyntax-only -Wunused-parameter -Wunused -verify %s |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | struct S { |
5 | void m(int x, int y) { |
6 | int z; |
7 | #pragma unused(x,y,z) |
8 | } |
9 | }; |
10 |