[cfe-commits] r73804 - /cfe/trunk/test/Sema/warn-unused-parameters.c
Douglas Gregor
dgregor at apple.com
Fri Jun 19 17:29:47 PDT 2009
Author: dgregor
Date: Fri Jun 19 19:29:46 2009
New Revision: 73804
URL: http://llvm.org/viewvc/llvm-project?rev=73804&view=rev
Log:
Add -fblocks
Modified:
cfe/trunk/test/Sema/warn-unused-parameters.c
Modified: cfe/trunk/test/Sema/warn-unused-parameters.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/warn-unused-parameters.c?rev=73804&r1=73803&r2=73804&view=diff
==============================================================================
--- cfe/trunk/test/Sema/warn-unused-parameters.c (original)
+++ cfe/trunk/test/Sema/warn-unused-parameters.c Fri Jun 19 19:29:46 2009
@@ -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)^(int x,
int y, // expected-warning{{unused}}
int z __attribute__((unused))) { return x; };
-}
\ No newline at end of file
+}
More information about the cfe-commits
mailing list