| #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; | |
| } | |