Add compile error test for comptime slice-of-struct copy

Closes #6305. In the C++ implementation this hit a compiler assertion.
It is handled properly in the self-hosted version.
16dcefaca5Stevie Hryciw committed on 8/7/2023, 1:11:49 AMparent6bba5a3
1 file changedLine totals unavailable