dawn-cmake/test/bug/tint/1321.wgsl.expected.wgsl

13 lines
161 B
WebGPU Shading Language
Raw Normal View History

fn foo() -> i32 {
return 1;
}
@stage(fragment)
fn main() {
var arr = array<f32, 4>();
for(let a = &(arr[foo()]); ; ) {
let x = *(a);
break;
}
}