blob: afb95166cbce2b72c37198d649379a208bcf5890 [file] [log] [blame]
// RUN: clang -fblocks -fsyntax-only -Wunused-parameter %s -Xclang -verify
int f0(int x,
int y, // expected-warning{{unused}}
int z __attribute__((unused))) {
return x;
}
void f1() {
(void)^(int x,
int y, // expected-warning{{unused}}
int z __attribute__((unused))) { return x; };
}