Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
ice14075.d
blob: 5dcfea4fe11655b6c61383109ebbb23f114f34ad [
file
] [
log
] [
blame
]
// REQUIRED_ARGS: -o-
// PERMUTE_ARGS:
struct
Foo
{
auto
opAssign
(
this
X
)(
ref
typeof
(
this
));
auto
opAssign
(
this
X
,
V
)(
ref
V
)
if
(!
is
(
V
==
typeof
(
this
)));
}
void
test
()
{
Foo
src
;
const
(
Foo
)
target
;
static
if
(
is
(
typeof
(
target
=
src
)))
{}
}