summaryrefslogtreecommitdiffstats
path: root/test/SemaTemplate/constexpr-instantiate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/constexpr-instantiate.cpp')
-rw-r--r--test/SemaTemplate/constexpr-instantiate.cpp2
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 {
OpenPOWER on IntegriCloud