aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test8041.d
blob: ee47120e0cacf61bf9d7e639e76d8eb6eee77583 (plain)
1
2
3
4
5
6
7
8
9
10
// PERMUTE_ARGS:

struct Foo { }

void main()
{
    static Foo sf;  // ok
    __gshared Foo gf;  // was: Error: non-constant expression gf = 0
    __gshared int[1][1] arr;  // dup: Issue 6089
}