repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
m68k: Add -mlra
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
b20885.d
blob
6e871845d0fc61a63450fcb398e1726a6908c75f
1
module
b20885
;
2
3
struct
S
4
{
5
alias
P
=
void
*;
6
}
7
8
void
main
()
9
{
10
alias
P
=
void
*;
11
alias
PP
=
void
**;
12
PP
[
1
]
a
=
null
;
13
if
(
const void
**
b
=
a
[
0
]){}
// OK
14
if
(
const
P
*
b
=
a
[
0
]){}
// NG
15
if
(
const
S
.
P
*
b
=
a
[
0
]){}
// NG
16
}