blob: 806f6e07dfed4b4bc3bf1d00b552e4c5bc5c96c8 [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;
}