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