blob: 3783d1b660c0c03dd4258c34b4e56e9b01d38790 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct str {
int i;
};
int func(thread int* const pointer) {
return (*pointer);
}
kernel void v() {
str F = {};
int const r = func((&F.i));
}