blob: b19f6ec40679876c681789fe7e54ba32465d43a9 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
int func(int value, thread int* const pointer) {
return as_type<int>((as_type<uint>(value) + as_type<uint>((*pointer))));
}
kernel void v() {
int i = 123;
int const r = func(i, (&i));
}