int main() {
#pragma critTer : 3 :../ test / resources / nesting.c:
  int i;
#pragma critTer : 4 :../ test / resources / nesting.c:
  int j;
#pragma critTer : 5 :../ test / resources / nesting.c:
  int k;
#pragma critTer : 6 :../ test / resources / nesting.c:
  int x = 1;
#pragma critTer : 7 :../ test / resources / nesting.c:
#pragma critTer : 8 :../ test / resources / nesting.c:
  for (i = 0; i < 10; i++) {
#pragma critTer : 9 :../ test / resources / nesting.c:
    for (j = 0; j < i; j++) {
#pragma critTer : 10 :../ test / resources / nesting.c:
      for (k = 0; k < j; k++) {
#pragma critTer : 11 :../ test / resources / nesting.c:
        if (x > 2) {
#pragma critTer : 12 :../ test / resources / nesting.c:
          return 1;
#pragma critTer : 13 :../ test / resources / nesting.c:
        }
#pragma critTer : 14 :../ test / resources / nesting.c:
      }
#pragma critTer : 15 :../ test / resources / nesting.c:
    }
#pragma critTer : 16 :../ test / resources / nesting.c:
  }
#pragma critTer : 17 :../ test / resources / nesting.c:
#pragma critTer : 18 :../ test / resources / nesting.c:
  return 0;
#pragma critTer : 19 :../ test / resources / nesting.c:
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
movl   $0x0,-0x4(%rbp)
movl   $0x1,-0x14(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    1198 <main+0x98>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1185 <main+0x85>
movl   $0x0,-0x10(%rbp)
mov    -0x10(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1172 <main+0x72>
cmpl   $0x2,-0x14(%rbp)
jle    115f <main+0x5f>
movl   $0x1,-0x4(%rbp)
jmp    119f <main+0x9f>
jmp    1164 <main+0x64>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    113d <main+0x3d>
jmp    1177 <main+0x77>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    112a <main+0x2a>
jmp    118a <main+0x8a>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1119 <main+0x19>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
xor    %eax,%eax
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
store i32 0, i32* %1
store i32 1, i32* %5
store i32 0, i32* %2
br label %6
6: ; preds = %32, %0
%7 = load i32, i32* %2
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %35
9: ; preds = %6
store i32 0, i32* %3
br label %10
10: ; preds = %28, %9
%11 = load i32, i32* %3
%12 = load i32, i32* %2
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %31
14: ; preds = %10
store i32 0, i32* %4
br label %15
15: ; preds = %24, %14
%16 = load i32, i32* %4
%17 = load i32, i32* %3
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %27
19: ; preds = %15
%20 = load i32, i32* %5
%21 = icmp sgt i32 %20, 2
br i1 %21, label %22, label %23
22: ; preds = %19
store i32 1, i32* %1
br label %36
23: ; preds = %19
br label %24
24: ; preds = %23
%25 = load i32, i32* %4
%26 = add nsw i32 %25, 1
store i32 %26, i32* %4
br label %15
27: ; preds = %15
br label %28
28: ; preds = %27
%29 = load i32, i32* %3
%30 = add nsw i32 %29, 1
store i32 %30, i32* %3
br label %10
31: ; preds = %10
br label %32
32: ; preds = %31
%33 = load i32, i32* %2
%34 = add nsw i32 %33, 1
store i32 %34, i32* %2
br label %6
35: ; preds = %6
store i32 0, i32* %1
br label %36
36: ; preds = %35, %22
%37 = load i32, i32* %1
ret i32 %37
}

LLVM IR (-O2):
define i32 @main() {
ret i32 0
}