blob: 77578a7c2efd0908068521f3f214749da894de0f [file] [log] [blame]
[[stage(compute), workgroup_size(1)]]
fn main() {
var i : i32 = 123;
let p : ptr<function, i32> = &i;
*p = 123; // constant
*p = 100 + 20 + 3; // dynamic
}