repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype-call4.C
blob
d504954bc636c77e1dba2bf1e74aa51d6b7f9103
1
// PR c++/81188
2
// { dg-do compile { target c++11 } }
3
4
template <class F>
5
struct C {
6
F fast(long i) const;
7
auto operator[](long i) const -> decltype(this->fast(i));
8
};
9
10
template <class F>
11
auto C<F>::operator[](long i) const -> decltype(this->fast(i)) {
12
return fast(i);
13
}