From 87e5732f3307c838fff6adea8ba50147110fe092 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Wed, 29 Jul 2009 00:17:20 +0000 Subject: [PATCH] Be sure to turn on -fblocks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77406 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Sema/return-noreturn.c | 2 +- test/Sema/return.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Sema/return-noreturn.c b/test/Sema/return-noreturn.c index c1cebee864..0a227a61cc 100644 --- a/test/Sema/return-noreturn.c +++ b/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/test/Sema/return.c b/test/Sema/return.c index 3c5fc79ebd..64def306eb 100644 --- a/test/Sema/return.c +++ b/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 -- 2.40.0