#include using namespace metal; int func(int value, thread int* const pointer) { return as_type((as_type(value) + as_type(*(pointer)))); } kernel void tint_symbol() { int i = 123; int const r = func(i, &(i)); return; }