diff options
Diffstat (limited to 'test/SemaCXX/cxx1z-noexcept-function-type.cpp')
-rw-r--r-- | test/SemaCXX/cxx1z-noexcept-function-type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/cxx1z-noexcept-function-type.cpp b/test/SemaCXX/cxx1z-noexcept-function-type.cpp index 814b04c6e42f..82ed724e1bd9 100644 --- a/test/SemaCXX/cxx1z-noexcept-function-type.cpp +++ b/test/SemaCXX/cxx1z-noexcept-function-type.cpp @@ -10,7 +10,7 @@ template<typename T> void redecl1() noexcept(noexcept(T())); // ok, same type template<typename T> void redecl1() noexcept(noexcept(T())) {} // expected-error {{redefinition}} template<bool A, bool B> void redecl2() noexcept(A); // expected-note {{previous}} -template<bool A, bool B> void redecl2() noexcept(B); // expected-error {{conflicting types}} +template<bool A, bool B> void redecl2() noexcept(B); // expected-error {{does not match previous}} // These have the same canonical type, but are still different. template<typename A, typename B> void redecl3() throw(A); // expected-note {{previous}} |