Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
b20885.d
blob: 6e871845d0fc61a63450fcb398e1726a6908c75f [
file
] [
log
] [
blame
]
module
b20885
;
struct
S
{
alias
P
=
void
*;
}
void
main
()
{
alias
P
=
void
*;
alias
PP
=
void
**;
PP
[
1
]
a
=
null
;
if
(
const
void
**
b
=
a
[
0
]){}
// OK
if
(
const
P
*
b
=
a
[
0
]){}
// NG
if
(
const
S
.
P
*
b
=
a
[
0
]){}
// NG
}