Add struct swizzle test.

This commit is contained in:
Christoffer Lerno
2025-02-27 21:50:03 +01:00
committed by Christoffer Lerno
parent fbac2d6df3
commit 74a6e9f0c0

View File

@@ -0,0 +1,11 @@
struct Vector4 @packed @align(4)
{
inline float[<4>] value;
}
fn int main(String[] args)
{
Vector4 value;
float[<2>] x = value.xy;
return 0;
}