blob: b857b912c32da543dadb60bbc959a8c1b7aec6b9 [file]
#include <metal_stdlib>
using namespace metal;
struct S {
int m;
uint n;
};
uint f() {
S const a = S{};
return a.n;
}
[[max_total_threads_per_threadgroup(1)]]
kernel void v() {
f();
}