* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / noexcept30.C
blobc51e94e75738cc9b6d60b211f8413e8a4235dd71
1 // PR c++/69300
2 // { dg-do compile { target c++11 } }
4 template<typename A>
5 struct F {
6   template<typename B>
7   void f() noexcept(&F::template f<B>) {} // { dg-error "exception specification" }
8 };
10 int main () {
11   F<void>().f<int>();