* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / noexcept29.C
blob8b920c5b4bc4fa09c42c81c62e522baf6e110fb6
1 // { dg-do compile { target c++11 } }
2 // { dg-additional-options "-fno-exceptions" }
4 // PR68475 we used to not check eh spec matching with -fno-exceptions,
5 // but this could lead to ICEs.
7 template <typename> struct traits;
9 template <typename T> struct X
11   void Foo () noexcept (traits <T>::foo ()); // { dg-message "previous declaration" }
14 template <typename T>
15 void
16 X<T>::Foo () noexcept (traits <T>::bar ()) // { dg-error "different exception specifier" }