diff options
Diffstat (limited to 'clang/test/CXX/except/except.spec/p4.cpp')
| -rw-r--r-- | clang/test/CXX/except/except.spec/p4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CXX/except/except.spec/p4.cpp b/clang/test/CXX/except/except.spec/p4.cpp index 8d1b75fbdd6..04b2bd9bf28 100644 --- a/clang/test/CXX/except/except.spec/p4.cpp +++ b/clang/test/CXX/except/except.spec/p4.cpp @@ -19,7 +19,7 @@ struct T { void operator delete(void*) noexcept; // expected-note {{here}} }; -void T::a() {} // expected-warning {{missing exception specification 'noexcept'}} +void T::a() {} // expected-error {{missing exception specification 'noexcept'}} T::~T() {} // expected-warning {{function previously declared with an explicit exception specification redeclared with an implicit exception specification}} void T::operator delete(void*) {} // expected-warning {{function previously declared with an explicit exception specification redeclared with an implicit exception specification}} |

