]> granicus.if.org Git - clang/commitdiff
Add -fblocks
authorDouglas Gregor <dgregor@apple.com>
Sat, 20 Jun 2009 00:29:46 +0000 (00:29 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 20 Jun 2009 00:29:46 +0000 (00:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73804 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/warn-unused-parameters.c

index 115bbab8151cefbdd46ca6004734355899d46b6b..afb95166cbce2b72c37198d649379a208bcf5890 100644 (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; };
-}
\ No newline at end of file
+}