Add -fblocks

llvm-svn: 73804
This commit is contained in:
Douglas Gregor 2009-06-20 00:29:46 +00:00
parent 4ce341cc75
commit 6fa36b4246
1 changed files with 2 additions and 2 deletions

View File

@ -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; };
}
}