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
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype56.C
blob
b44fad098fe65fe3cf46a63ed8d8c88c135831a4
1
// PR c++/52816
2
// { dg-do compile { target c++11 } }
3
4
class c {
5
int f;
6
public:
7
template <typename A>
8
decltype(f) m(A) const;
9
};
10
11
decltype(c{}.m(0)) i;