Compiler Design 2023

Testcase c27 of Assignment 3:
// dangling else problem:
void main() {  
  if (x <= 2)
    if (x >= a)
      y = 1;
    else
      y = 2;
}

c27