dawn-cmake/test/statements/for/initializer/struct_ctor.wgsl

8 lines
77 B
WebGPU Shading Language

struct S {
i : i32;
};
fn f() {
for (var i : i32 = S(1).i; false;) {}
}