#include <metal_stdlib>
using namespace metal;

[[max_total_threads_per_threadgroup(1)]]
kernel void v() {
  int i = 123;
  thread int* const p = (&i);
  int const u = as_type<int>((as_type<uint>((*p)) + as_type<uint>(1)));
}
