blob: 136c564775976c1338905b1f6469cfebb381b3ad [file] [log] [blame]
SKIP: FAILED
struct S {
a : i32,
}
@group(0) @binding(0) var<storage, read_write> v : S;
fn foo() {
v.a *= 2;
}
Failed to generate: error: cannot assign to value of type 'i32'