diff options
Diffstat (limited to 'test/SemaTemplate/constexpr-instantiate.cpp')
-rw-r--r-- | test/SemaTemplate/constexpr-instantiate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaTemplate/constexpr-instantiate.cpp b/test/SemaTemplate/constexpr-instantiate.cpp index 95d6c23..e8e3e7d 100644 --- a/test/SemaTemplate/constexpr-instantiate.cpp +++ b/test/SemaTemplate/constexpr-instantiate.cpp @@ -154,7 +154,7 @@ namespace Unevaluated { constexpr S2() {} constexpr operator int() const { return 123456; } }; - int k2 = sizeof(short{S2(S2())}); // expected-error {{cannot be narrowed}} expected-note {{override}} + int k2 = sizeof(short{S2(S2())}); // expected-error {{cannot be narrowed}} expected-note {{insert an explicit cast to silence this issue}} } namespace PR12288 { |