blob: 6605ae633d373f7dac1c85bab62b5060b77e9ca8 [file] [log] [blame]
var<workgroup> S : i32;
fn func(pointer : ptr<workgroup, i32>) {
*(pointer) = 42;
}
@compute @workgroup_size(1)
fn main() {
func(&(S));
}