blob: 5b9938e1ebb2c62b20ced523b497336aa9785c2b [file] [log] [blame] [edit]
#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)));
}