From: Ted Kremenek Date: Thu, 8 Apr 2010 18:51:47 +0000 (+0000) Subject: Update test case. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8b48e4b68605297e6a426531993a4d4eeaff094;p=clang Update test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100801 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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) {