]> granicus.if.org Git - clang/commitdiff
Be sure to turn on -fblocks.
authorMike Stump <mrs@apple.com>
Wed, 29 Jul 2009 00:17:20 +0000 (00:17 +0000)
committerMike Stump <mrs@apple.com>
Wed, 29 Jul 2009 00:17:20 +0000 (00:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77406 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/return-noreturn.c
test/Sema/return.c

index c1cebee86454417961179d258f4736101a9c49f3..0a227a61cca3a779c1039a02736879504b67c957 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -Wmissing-noreturn
+// RUN: clang-cc %s -fsyntax-only -verify -fblocks -Wmissing-noreturn
 
 int j;
 void test1() { // expected-warning {{function could be attribute 'noreturn'}}
index 3c5fc79ebdd1e03c31299c3b40e9b124f0009004..64def306ebc889a0deb35fe6023897288eed001c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify -fblocks
 
 // clang emits the following warning by default.
 // With GCC, -pedantic, -Wreturn-type or -Wall are required to produce the