diff --git a/clang/test/Misc/serialized-diags-stable.c b/clang/test/Misc/serialized-diags-stable.c index e05e3f01b6a5..4bd4c99af31e 100644 --- a/clang/test/Misc/serialized-diags-stable.c +++ b/clang/test/Misc/serialized-diags-stable.c @@ -5,7 +5,7 @@ // RUN: c-index-test -read-diagnostics %S/Inputs/serialized-diags-stable.dia 2>&1 | FileCheck %s int foo() { - // CHECK: serialized-diags-stable.c:[[@LINE+2]]:1: warning: non-void function does not return a value [-Wreturn-type] [Semantic Issue] + // CHECK: serialized-diags-stable.c:[[@LINE+2]]:1: warning: control reaches end of non-void function [-Wreturn-type] [Semantic Issue] // CHECK-NEXT: Number FIXITs = 0 }