Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/paren6.C

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&;