diff options
Diffstat (limited to 'test/CXX/except/except.spec/p1.cpp')
-rw-r--r-- | test/CXX/except/except.spec/p1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CXX/except/except.spec/p1.cpp b/test/CXX/except/except.spec/p1.cpp index a6e7850..c68ec56 100644 --- a/test/CXX/except/except.spec/p1.cpp +++ b/test/CXX/except/except.spec/p1.cpp @@ -74,7 +74,7 @@ namespace noexcept_unevaluated { namespace PR11084 { template<int X> struct A { - static int f() noexcept(1/X) { return 10; } // expected-error{{argument to noexcept specifier must be a constant expression}} + static int f() noexcept(1/X) { return 10; } // expected-error{{argument to noexcept specifier must be a constant expression}} expected-note{{division by zero}} }; void g() { A<0>::f(); } // expected-note{{in instantiation of template class 'PR11084::A<0>' requested here}} |