Debian Codegraph @

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

raw
1 module b20243;
2
3 inout(int) f(inout(int)[inout(string)] x);
4 const(int)[const(string)] x;
5 static assert(is(typeof(f(x)) == const(int)));
6
7 inout(int)[inout(string)] g(inout(int) y);
8 const(int) y;
9 static assert(is(typeof(g(y)) == const(int)[const(string)]));