blob: 177afa0678fed6fceffaa6e4dd45eca92c145622 [file]
#include <metal_stdlib>
using namespace metal;
void func(thread int* const pointer) {
(*pointer) = 42;
}
[[max_total_threads_per_threadgroup(1)]]
kernel void v() {
int F = 0;
(func((&F)));
}