Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
imports
/
bug10425.d
blob: 1a16e86f2e0acc202625411cf0fd78e1a0fc853a [
file
] [
log
] [
blame
]
module
imports
.
bug10425
;
struct
A
()
{
int
opCmp
(
const
ref
A p
)
const
{
return
0
;
}
string
toString
()
{
return
""
;
}
}
struct
B
()
{
void
foo
()
{
auto
a
=
new
A
!();
}
}
struct
C
{
alias
A
!()
a_t
;
this
(
B
!()
b
)
{
}
}