Sign in
gnu
/
gcc
/
refs/heads/devel/gccgo
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
paren6.C
blob: 812a99ca91cf1f6fe909e2623cd1497bd9d367bc [
file
] [
log
] [
blame
]
// PR c++/98283
// { dg-do compile { target c++14 } }
struct
A
{
static
int
m
;
};
template
<
class
T
>
struct
B
:
T
{
decltype
(
auto
)
f
()
{
return
(
this
->
m
);
}
};
using
type
=
decltype
(
B
<
A
>().
f
());
using
type
=
int
&;