blob: 822323d0a7b5b7a4744f63174299dbfc91149d3f [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() {
str r = func(P[2]);
return;
}