Sign in
gnu
/
gcc
/
7ff47281ce4f3699185b06a3430968eac2a5b0c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail7173.d
blob: 2f6c748f7c052d7c9f35b27cd64cb82079fe7b48 [
file
] [
log
] [
blame
]
struct
A
{
A opBinary
(
string
op
)(
A a
){
A rt
;
return
rt
;
}
void
fun
(){
}
}
struct
B
{
A _a
;
alias
_a
this
;
}
void
main
(){
B b1
,
b2
,
b3
;
b3
=
(
b1
-
b2
).
fun
();
}