1 // RUN: %clang_cc1 -fblocks -fsyntax-only -Wunused-but-set-parameter -verify %s
4 int y
, // expected-warning{{parameter 'y' set but not used}}
5 int z
__attribute__((unused
))) {
12 int y
, // expected-warning{{parameter 'y' set but not used}}
13 int z
__attribute__((unused
))) {
23 void f3(struct S s
) { // expected-warning{{parameter 's' set but not used}}
28 void f4(int j
) { // expected-warning{{parameter 'j' set but not used}}
32 void f5(int k
) { // expected-warning{{parameter 'k' set but not used}}