1/*******************************************/ 2// https://issues.dlang.org/show_bug.cgi?id=20088 3 4struct S { 5 int i; 6} 7 8extern(C) int main() @nogc nothrow pure 9{ 10 S[2] s = [S(1),S(2)]; 11 void[] v = cast(void[])s; 12 S[] p = cast(S[])v; // cast of void[] to S[] triggers __ArrayCast template function 13 return 0; 14} 15