1 // { dg-options -std=c++0x }
12 template <int U> typename TypeA<U>::type fn();
18 // This was being printed as:
20 // decltype (((TypeC*)this)->
22 // template<int U> typename TypeA<U>::type TypeB::fn [with int U = U, int N = 10, typename TypeA<U>::type = TypeA<U>::type]())
24 // we don't want to see the template header, return type, or parameter bindings
26 template <int N> auto fn() -> decltype(b.fn<N>()); // { dg-bogus "typename|with" }
31 TypeC().fn<4>(1); // { dg-error "no match" }