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