blob: 1a0cfdbc1ccbeb5af0702a656b9481d3ee60c05c [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 i = (i + 1);
11 if ((i > 4)) {
12 return 1;
13 }
Antonio Maiorano06844a52022-09-29 16:53:58 +000014 while (true) {
Ben Claytondef73132021-06-21 19:04:56 +000015 j = (j + 1);
16 if ((j > 4)) {
17 return 2;
18 }
19 }
20 }
Ben Claytondef73132021-06-21 19:04:56 +000021}