☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
paren6.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/paren6.C
code
plain
raw
1
// PR c++/98283
2
// { dg-do compile { target c++14 } }
3
4
struct A {
5
static int m;
6
};
7
8
template<class T>
9
struct B : T {
10
decltype(auto) f() { return (this->m); }
11
};
12
13
using type = decltype(B<A>().f());
14
using type = int&;