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