* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / noexcept19.C
blob94af8fcf0d035d2005f766b569f31ad1b4a85069
1 // PR c++/55652
2 // { dg-do compile { target c++11 } }
4 template <typename T>
5 struct A
7   static const bool a = false;
8 };
10 template <typename X, typename Y = A <X>>
11 struct B
13   B () noexcept (A <Y>::a) {}
16 template <typename X, typename Y>
17 struct C
19   X x;
20   Y y;
23 struct D
25   D ()
26 #if __cplusplus <= 201402L
27   throw (int)                   // { dg-warning "deprecated" "" { target { ! c++17 } } }
28 #endif
29   ;
32 C <D, B <D>> c;