blob: 8637069489c50845545c1372e906b538e0dd032c [file] [log] [blame]
Ben Claytondef73132021-06-21 19:04:56 +00001[numthreads(1, 1, 1)]
2void unused_entry_point() {
3 return;
4}
5
6int f() {
7 int i = 0;
8 int j = 0;
Antonio Maiorano06844a52022-09-29 16:53:58 +00009 while (true) {
Ben Claytondef73132021-06-21 19:04:56 +000010 if ((i > 4)) {
11 return 1;
12 }
Antonio Maiorano06844a52022-09-29 16:53:58 +000013 while (true) {
Ben Claytondef73132021-06-21 19:04:56 +000014 if ((j > 4)) {
15 return 2;
16 }
17 {
18 j = (j + 1);
19 }
20 }
21 {
22 i = (i + 1);
23 }
24 }
Ben Claytondef73132021-06-21 19:04:56 +000025}