Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test20236.d
blob: d50c874785cd18212ee5824a8db4019aabbdb320 [
file
] [
log
] [
blame
]
// https://issues.dlang.org/show_bug.cgi?id=20236
/*
TEST_OUTPUT:
---
---
*/
struct
X
{
alias
y
this
;
deprecated
int
y
()
{
return
5
;
}
int
x
()
{
return
5
;
}
}
void
main
()
{
static
void
func
(
int
)
{}
with
(
X
.
init
)
{
func
(
x
);
}
}