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