blob: 9af8bc6ffb301c0c9dd412ac0b10a9a22e90db64 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct a {
int b;
};
struct _a {
int _b;
};
kernel void f(device int* tint_symbol [[buffer(0)]]) {
_a const c = _a{};
int const d = c._b;
*(tint_symbol) = as_type<int>((as_type<uint>(c._b) + as_type<uint>(d)));
return;
}