Debian Codegraph @

gcc/testsuite/gdc.test/compilable/test8041.d

raw
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 }