☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test21179.d
☽
☼
gcc/testsuite/gdc.test/compilable/test21179.d
code
plain
raw
1
// https://github.com/dlang/dmd/issues/21179
2
3
void bigEndianToNative(ubyte[2] a) {}
4
5
void main()
6
{
7
ubyte[] arr;
8
const ubyte[2] bytes;
9
bigEndianToNative(bytes);
10
auto b = cast(const ubyte[2][]) arr;
11
}