From: Mike Stump Date: Wed, 29 Jul 2009 00:17:20 +0000 (+0000) Subject: Be sure to turn on -fblocks. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d97c26921a083a8c35155d0fe66e6e1899dbe6df;p=platform%2Fupstream%2Fllvm.git Be sure to turn on -fblocks. llvm-svn: 77406 --- diff --git a/clang/test/Sema/return-noreturn.c b/clang/test/Sema/return-noreturn.c index c1cebee..0a227a6 100644 --- a/clang/test/Sema/return-noreturn.c +++ b/clang/test/Sema/return-noreturn.c @@ -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'}} diff --git a/clang/test/Sema/return.c b/clang/test/Sema/return.c index 3c5fc79..64def30 100644 --- a/clang/test/Sema/return.c +++ b/clang/test/Sema/return.c @@ -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