blob: 15ce0f2fda78d40f14663fc787189d8123fa51c0 [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'