* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / trailing13.C
blob2681bcd3f530f8bbb8a32c99daf043d36ac529e1
1 // PR c++/69139
2 // { dg-do compile { target c++11 } }
4 struct X {
5   auto get(int) const & noexcept -> int { return {}; }
6   auto get(int) && throw () -> long { return {}; }
7 };
9 template <class R> auto f(auto (X::*)(int) const & -> R) -> R {}
11 using I = decltype(f(&X::get));
12 using I = int;