2021-05-19 09:03:48 +00:00
|
|
|
struct S {
|
|
|
|
int i;
|
|
|
|
};
|
|
|
|
|
2021-07-02 19:27:42 +00:00
|
|
|
static S V = (S)0;
|
2021-05-19 09:03:48 +00:00
|
|
|
|
2021-06-17 09:10:04 +00:00
|
|
|
void main_1() {
|
|
|
|
V.i = 5;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2021-05-19 09:03:48 +00:00
|
|
|
[numthreads(1, 1, 1)]
|
|
|
|
void main() {
|
2021-06-17 09:10:04 +00:00
|
|
|
main_1();
|
2021-05-19 09:03:48 +00:00
|
|
|
return;
|
|
|
|
}
|