Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
test20565.d
blob: df4a22637d22d78669eed516c1ef736391145f00 [
file
] [
log
] [
blame
]
// https://issues.dlang.org/show_bug.cgi?id=20565
void
main
()
{
{
int
temp
(
T
)()
{
return
3
;
}
assert
(
temp
!
int
()
==
3
);
}
{
int
temp
(
T
)()
{
return
4
;
}
assert
(
temp
!
int
()
==
4
);
}
{
int
temp
(
T
)()
{
return
5
;
}
assert
(
temp
!
int
()
==
5
);
}
}