Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
analyzer
/
fd-bind-pr107783.C
blob: eb5e23c82cf1fcc154634359d886a459bb1500ce [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
minus
{
}
_1
;
int
_2
;
struct
_Bind
{
_Bind
(
_Bind
&);
};
template
<
typename
_Func
,
typename
_BoundArgs
>
_Bind
bind
(
_Func
,
_BoundArgs
&&...);
void
test01
()
{
bind
(
minus
(),
_2
,
_1
);
}