Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
imports
/
fail21275a.d
blob: 3fee203858c2120c879ddbb3f47d50184a0ab499 [
file
] [
log
] [
blame
]
module
imports
.
fail21275a
;
struct
Foo
{
private
int
_x
;
private
ref
int
x
()
return
{
return
_x
;
}
int
x
()
const
{
return
_x
;
}
}
struct
Bar
{
private
int
_x
;
private
int
x
(
int
)
{
return
_x
;
}
int
x
()
const
{
return
_x
;
}
}