(command.CommandList
  children: [
    (command.ShFunction
      name: check
      body: 
        (BraceGroup
          children: [
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Pipeline
                          children: [
                            (C {<grep>} {<-qw>} {(DQ ($ Id.VSub_Number '$2'))} 
                              {(DQ ($ Id.VSub_Number '$1'))}
                            )
                          ]
                          negated: T
                        )
                      ]
                    )
                  action: [
                    (C {<echo>} {(DQ <'Did not find expected text in '> ($ Id.VSub_Number '$1') <':'>)})
                    (C {<echo>} {(DQ <'   '> ($ Id.VSub_Number '$2'))})
                    (C {<echo>} {(DQ )})
                    (C {<echo>} {(DQ <'Actual output below:'>)})
                    (C {<cat>} {(DQ ($ Id.VSub_Number '$1'))})
                    (command.ControlFlow
                      token: <Id.ControlFlow_Exit exit>
                      arg_word: {<1>}
                    )
                  ]
                  spids: [69 86]
                )
              ]
            )
          ]
        )
    )
    (C {<check>} {<dynamic_list.stdout>} {(DQ <main>)})
    (C {<check>} {<dynamic_list.stdout>} {(DQ <_ZdlPv>)})
    (C {<check>} {<dynamic_list.stdout>} {(DQ <_Z4t1_6v>)})
    (C {<check>} {<dynamic_list.stdout>} {(DQ <_ZN4t16aC2Ev>)})
    (C {<check>} {<dynamic_list.stdout>} {(DQ <_ZN4t16aD1Ev>)})
    (C {<check>} {<dynamic_list.stdout>} {(DQ <_ZN4t16a1tEv>)})
    (C {<check>} {<dynamic_list.stdout>} {(DQ <_ZTI4t16a>)})
    (C {<check>} {<dynamic_list.stdout>} {(DQ <_ZTI4t16b>)})
    (C {<check>} {<dynamic_list.stdout>} {(DQ <_ZTS4t16a>)})
    (C {<check>} {<dynamic_list.stdout>} {(DQ <_ZTS4t16b>)})
    (C {<check>} {<dynamic_list.stdout>} {(DQ <t20v>)})
  ]
)