* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / decltype-call4.C
blobd504954bc636c77e1dba2bf1e74aa51d6b7f9103
1 // PR c++/81188
2 // { dg-do compile { target c++11 } }
4 template <class F>
5 struct C {
6   F fast(long i) const;
7   auto operator[](long i) const -> decltype(this->fast(i));
8 };
10 template <class F>
11 auto C<F>::operator[](long i) const -> decltype(this->fast(i)) {
12   return fast(i);