// RUN: %clang_cc1 -fblocks -fsyntax-only -Wunused-but-set-parameter -verify %s
intf0(intx,inty,// expected-warning{{parameter 'y' set but not used}}
int z __attribute__((unused))){
y =0;return x;}voidf1(void){(void)^(int x,int y,// expected-warning{{parameter 'y' set but not used}}
int z __attribute__((unused))){
y =0;return x;};}struct S {int i;};voidf3(struct S s){// expected-warning{{parameter 's' set but not used}}
struct S t;
s = t;}voidf4(intj){// expected-warning{{parameter 'j' set but not used}}
j++;}voidf5(intk){// expected-warning{{parameter 'k' set but not used}}
--k;}