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)
llvm-svn: 77406

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

index c1cebee..0a227a6 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 3c5fc79..64def30 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