☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype56.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/decltype56.C
code
plain
raw
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;