From a8b48e4b68605297e6a426531993a4d4eeaff094 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 8 Apr 2010 18:51:47 +0000 Subject: [PATCH] Update test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100801 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Sema/return.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Sema/return.c b/test/Sema/return.c index fab6a82aa7..0d46d981be 100644 --- a/test/Sema/return.c +++ b/test/Sema/return.c @@ -225,7 +225,7 @@ void test33() { // Test that 'static inline' functions are only analyzed for CFG-based warnings // when they are used. -static inline int si_has_missing_return() {} // no-warning +static inline int si_has_missing_return() {} // expected-warning{{control reaches end of non-void function}} static inline int si_has_missing_return_2() {}; // expected-warning{{control reaches end of non-void function}} static inline int si_forward(); static inline int si_has_missing_return_3(int x) { -- 2.50.1