]> granicus.if.org Git - clang/blobdiff - test/SemaCXX/deprecated.cpp
P0012R1: Make exception specifications be part of the type system. This
[clang] / test / SemaCXX / deprecated.cpp
index 4ce0589687421add3af88f30e4e0851e95fc1de3..7a1723734db7ddf3cd1ce62ee510b45d276d108a 100644 (file)
@@ -7,9 +7,9 @@
 
 #include "Inputs/register.h"
 
-void f() throw();
-void g() throw(int);
-void h() throw(...);
+void g() throw();
+void h() throw(int);
+void i() throw(...);
 #if __cplusplus >= 201103L
 // expected-warning@-4 {{dynamic exception specifications are deprecated}} expected-note@-4 {{use 'noexcept' instead}}
 // expected-warning@-4 {{dynamic exception specifications are deprecated}} expected-note@-4 {{use 'noexcept(false)' instead}}