#include <metal_stdlib>
using namespace metal;

float4 func(thread float4* const pointer) {
  return (*pointer);
}

[[max_total_threads_per_threadgroup(1)]]
kernel void v() {
  float4 F = 0.0f;
  float4 const r = func((&F));
}
