2021-05-19 09:03:48 +00:00
|
|
|
struct S {
|
|
|
|
int i;
|
|
|
|
};
|
|
|
|
|
|
|
|
static S V;
|
|
|
|
|
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;
|
|
|
|
}
|