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

8 lines
77 B
WebGPU Shading Language
Raw Permalink Normal View History

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