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