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 // In C++, don't warn for a struct (following gcc).
29 // Also don't warn for a reference.
34 // Make sure this doesn't warn.