(CommandList
  children: [
    (FuncDef
      name: check
      body: 
        (BraceGroup
          children: [
            (If
              arms: [
                (if_arm
                  cond: [
                    (Pipeline
                      children: [
                        (C {(grep)} {(-q)} {(DQ ($ VSub_Number '$2'))} {(DQ ($ VSub_Number '$1'))})
                      ]
                      negated: T
                    )
                  ]
                  action: [
                    (C {(echo)} {(DQ ('Did not find expected output:'))})
                    (C {(echo)} {(DQ ('   ') ($ VSub_Number '$2'))})
                    (C {(echo)} {(DQ )})
                    (C {(echo)} {(DQ ('Actual error output below:'))})
                    (C {(cat)} {(DQ ($ VSub_Number '$1'))})
                    (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
                  ]
                  spids: [16777215 82]
                )
              ]
              spids: [16777215 125]
            )
          ]
          spids: [62]
        )
      spids: [58 61]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:STDOUT)
          op: Equal
          rhs: {(gdb_index_test_3.stdout)}
          spids: [130]
        )
      ]
      spids: [130]
    )
    (C {(check)} {($ VSub_Name '$STDOUT')} {(DQ ('^Version [4-7]'))})
    (C {(check)} {($ VSub_Name '$STDOUT')} 
      {(DQ ('^') (Lit_Other '\\') ('[ *[0-9]*') (Lit_Other '\\') ('] main:'))}
    )
    (C {(check)} {($ VSub_Name '$STDOUT')} 
      {(DQ ('^') (Lit_Other '\\') ('[ *[0-9]*') (Lit_Other '\\') ('] check_int:'))}
    )
    (C {(check)} {($ VSub_Name '$STDOUT')} 
      {(DQ ('^') (Lit_Other '\\') ('[ *[0-9]*') (Lit_Other '\\') ('] j:'))}
    )
    (C {(check)} {($ VSub_Name '$STDOUT')} 
      {(DQ ('^') (Lit_Other '\\') ('[ *[0-9]*') (Lit_Other '\\') ('] int:'))}
    )
    (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})
  ]
)