Sign in
gnu
/
gcc
/
4e4e45a4fd341174d8231ee6a99e6fe308904f8f
/
.
/
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
);
}