Test: mg_12_2

Higher SubleqErrorOutputSubleqITR
int a,b=50;
int main()
{
   *a = b;
   __out *a;
}


2

   top:top top sqmain

.  _a:0 _b:50

_main:
   dec sp; ?+11; sp ?+7; ?+6; sp ?+2; 0
   ?+6; sp ?+2; bp 0
   bp; sp bp
   dec sp; ?+11; sp ?+7; ?+6; sp ?+2; 0
   ?+6; sp ?+2; t1 0
   dec sp; ?+11; sp ?+7; ?+6; sp ?+2; 0
   ?+6; sp ?+2; t2 0

   ?+23; ?+21; ?+24; _a Z; Z ?+10; Z ?+8
   Z ?+11; Z; 0; _b Z; Z 0; Z

   t1; t2; ?+11; _a Z; Z ?+4; Z; 0 t1; t1 t2
   t2 (-1)

   ?+8; sp ?+4; t2; 0 t2; inc sp
   ?+8; sp ?+4; t1; 0 t1; inc sp
   sp; bp sp
   ?+8; sp ?+4; bp; 0 bp; inc sp
   ?+8; sp ?+4; ?+7; 0 ?+3; Z Z 0

sqmain:
   dec sp; ?+11; sp ?+7; ?+6; sp ?+2; 0
   ?+6; sp ?+2; ?+2 0 _main; . ?; inc sp

   Z Z (-1)

. t1:0 t2:0

. inc:-1 Z:0 dec:1 ax:0 bp:0 sp:-sp

Root (mg_12_2.hsq:7)
   Declaration (mg_12_2.hsq:1)
      Keyword [int] (mg_12_2.hsq:1)
      Declarator [0] (mg_12_2.hsq:1)
         Id [a] (mg_12_2.hsq:1)
      Declarator [=] (mg_12_2.hsq:1)
         Id [b] (mg_12_2.hsq:1)
         Const [50] (mg_12_2.hsq:1)
   Function:0 [main] (mg_12_2.hsq:2)
      Keyword [int] (mg_12_2.hsq:2)
      Param-type-list (mg_12_2.hsq:2)
      Block (mg_12_2.hsq:3)
         Assignment [=] (mg_12_2.hsq:4)
            Unary [*] (mg_12_2.hsq:4)
               Variable [a] (mg_12_2.hsq:4) 0:1
            Variable [b] (mg_12_2.hsq:4) =:1
         OperatorIO [__out] (mg_12_2.hsq:5)
            Unary [*] (mg_12_2.hsq:5)
               Variable [a] (mg_12_2.hsq:5) 0:1