blob: 65469f1fae9cc9657ffdac6310f23ed5be308ede [file] [log] [blame]
var<workgroup> S : i32;
fn func(pointer : ptr<workgroup, i32>) -> i32 {
return *(pointer);
}
@compute @workgroup_size(1)
fn main() {
let r = func(&(S));
}