Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction100.C
blob: 9fa307ffb77c34084ba070446e53cc0ce84976dc [
file
] [
log
] [
blame
]
// PR c++/90782
// { dg-do compile { target c++17 } }
template
<
class
...
A
>
struct
bar
{
template
<
class
B
>
bar
(
B
&
obj
,
void
(
B
::*
f
)(
A
...)
const
=&
B
::
operator
()){}
};
int
main
()
{
const
auto
f1
=
[](){};
bar f8
(
f1
);
}