diff options
Diffstat (limited to 'test/FixIt/fixit-cxx1y-compat.cpp')
-rw-r--r-- | test/FixIt/fixit-cxx1y-compat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/FixIt/fixit-cxx1y-compat.cpp b/test/FixIt/fixit-cxx1y-compat.cpp index 9fd5ff2..819e398 100644 --- a/test/FixIt/fixit-cxx1y-compat.cpp +++ b/test/FixIt/fixit-cxx1y-compat.cpp @@ -7,6 +7,6 @@ // This is a test of the code modification hints for C++1y-compatibility problems. struct S { - constexpr int &f(); // expected-warning {{'constexpr' non-static member function will not be implicitly 'const' in C++1y; add 'const' to avoid a change in behavior}} + constexpr int &f(); // expected-warning {{'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior}} int &f(); }; |