summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/late-parsing-eager-instantiation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaTemplate/late-parsing-eager-instantiation.cpp')
-rw-r--r--clang/test/SemaTemplate/late-parsing-eager-instantiation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaTemplate/late-parsing-eager-instantiation.cpp b/clang/test/SemaTemplate/late-parsing-eager-instantiation.cpp
index 412f0265a46..0e654768787 100644
--- a/clang/test/SemaTemplate/late-parsing-eager-instantiation.cpp
+++ b/clang/test/SemaTemplate/late-parsing-eager-instantiation.cpp
@@ -15,8 +15,8 @@ class ArrayBuffer {
char data() {
visit([](auto buffer) -> char { // expected-note {{in instantiation}}
buffer->data();
- }); // expected-warning {{control reaches end of non-void lambda}}
- } // expected-warning {{control reaches end of non-void function}}
+ }); // expected-warning {{non-void lambda does not return a value}}
+ } // expected-warning {{non-void function does not return a value}}
};
// pr34185
OpenPOWER on IntegriCloud