(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 in ') ($ VSub_Number '$1') (':'))})
                    (C {(echo)} {(DQ ('   ') ($ VSub_Number '$2'))})
                    (C {(echo)} {(DQ )})
                    (C {(echo)} {(DQ ('Actual output below:'))})
                    (C {(cat)} {(DQ ($ VSub_Number '$1'))})
                    (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
                  ]
                  spids: [16777215 92]
                )
              ]
              spids: [16777215 137]
            )
          ]
          spids: [72]
        )
      spids: [68 71]
    )
    (C {(check)} {(plugin_test_2.err)} {(DQ ('API version:'))})
    (C {(check)} {(plugin_test_2.err)} {(DQ ('gold version:'))})
    (C {(check)} {(plugin_test_2.err)} {(DQ ('two_file_test_main.o: claim file hook called'))})
    (C {(check)} {(plugin_test_2.err)} {(DQ ('two_file_test_1.o.syms: claim file hook called'))})
    (C {(check)} {(plugin_test_2.err)} {(DQ ('two_file_test_1b.o.syms: claim file hook called'))})
    (C {(check)} {(plugin_test_2.err)} {(DQ ('two_file_shared_2.so: claim file hook called'))})
    (C {(check)} {(plugin_test_2.err)} 
      {(DQ ('two_file_test_1.o.syms: _Z4f13iv: PREVAILING_DEF_IRONLY_EXP'))}
    )
    (C {(check)} {(plugin_test_2.err)} {(DQ ('two_file_test_1.o.syms: _Z2t2v: PREVAILING_DEF_REG'))})
    (C {(check)} {(plugin_test_2.err)} {(DQ ('two_file_test_1.o.syms: v2: RESOLVED_DYN'))})
    (C {(check)} {(plugin_test_2.err)} {(DQ ('two_file_test_1.o.syms: t17data: RESOLVED_DYN'))})
    (C {(check)} {(plugin_test_2.err)} {(DQ ('two_file_test_1.o: adding new input file'))})
    (C {(check)} {(plugin_test_2.err)} {(DQ ('two_file_test_1b.o: adding new input file'))})
    (C {(check)} {(plugin_test_2.err)} {(DQ ('cleanup hook called'))})
    (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})
  ]
)