blob: 077d5c3649c48ad746447a70240132171799e4ab [file] [log] [blame]
struct str {
int i;
};
str func(inout str pointer) {
return pointer;
}
static str P[4] = (str[4])0;
[numthreads(1, 1, 1)]
void main() {
const str r = func(P[2]);
return;
}