Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
auto-fn63.C
blob: ca3bc854065ca4ed604b232c546bf7b849ed402d [
file
] [
log
] [
blame
]
// PR c++/105779
// { dg-do compile { target c++14 } }
template
<int>
struct
struct1
{
static
auto
apply
()
{
return
1
;
}
};
int
method
(
int
(*
f
)());
int
t
=
method
(
struct1
<
1
>::
apply
);