forked from OSchip/llvm-project
parent
4ce341cc75
commit
6fa36b4246
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang -fsyntax-only -Wunused-parameter %s -Xclang -verify
|
||||
// RUN: clang -fblocks -fsyntax-only -Wunused-parameter %s -Xclang -verify
|
||||
|
||||
int f0(int x,
|
||||
int y, // expected-warning{{unused}}
|
||||
|
@ -10,4 +10,4 @@ void f1() {
|
|||
(void)^(int x,
|
||||
int y, // expected-warning{{unused}}
|
||||
int z __attribute__((unused))) { return x; };
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue