summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/absolute-paths.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Frontend/absolute-paths.c')
-rw-r--r--clang/test/Frontend/absolute-paths.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Frontend/absolute-paths.c b/clang/test/Frontend/absolute-paths.c
index 478216294ae..07c81832ede 100644
--- a/clang/test/Frontend/absolute-paths.c
+++ b/clang/test/Frontend/absolute-paths.c
@@ -7,11 +7,11 @@
// directory in the path.
// NORMAL: SystemHeaderPrefix
// ABSOLUTE-NOT: SystemHeaderPrefix
-// CHECK: warning: control reaches end of non-void function
+// CHECK: warning: non-void function does not return a value
// For files which don't exist, just print the filename.
#line 123 "non-existant.c"
int g() {}
-// NORMAL: non-existant.c:123:10: warning: control reaches end of non-void function
-// ABSOLUTE: non-existant.c:123:10: warning: control reaches end of non-void function
+// NORMAL: non-existant.c:123:10: warning: non-void function does not return a value
+// ABSOLUTE: non-existant.c:123:10: warning: non-void function does not return a value
OpenPOWER on IntegriCloud