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
d: Merge upstream dmd, druntime 26f049fb26, phobos 330d6a4fd.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test8041.d
blob
ee47120e0cacf61bf9d7e639e76d8eb6eee77583
1
// PERMUTE_ARGS:
2
3
struct
Foo
{ }
4
5
void
main
()
6
{
7
static
Foo sf
;
// ok
8
__gshared Foo gf
;
// was: Error: non-constant expression gf = 0
9
__gshared
int
[
1
][
1
]
arr
;
// dup: Issue 6089
10
}