(TranslationUnit
    (SymbolTable
        1
        {
            test:
                (Program
                    (SymbolTable
                        2
                        {
                            lfortran_iomsg:
                                (Variable
                                    2
                                    lfortran_iomsg
                                    []
                                    Local
                                    ()
                                    ()
                                    Default
                                    (String 1 (IntegerConstant 0 (Integer 4) Decimal) ExpressionLength DescriptorString)
                                    ()
                                    Source
                                    Public
                                    Required
                                    .false.
                                    .false.
                                    .false.
                                    ()
                                    .false.
                                    .false.
                                    NotMethod
                                    ()
                                    []
                                ),
                            val:
                                (Variable
                                    2
                                    val
                                    []
                                    Local
                                    ()
                                    ()
                                    Default
                                    (Integer 4)
                                    ()
                                    Source
                                    Public
                                    Required
                                    .false.
                                    .false.
                                    .false.
                                    ()
                                    .false.
                                    .false.
                                    NotMethod
                                    ()
                                    []
                                )
                        })
                    test
                    []
                    [(Assignment
                        (Var 2 val)
                        (IntrinsicElementalFunction
                            ThisImage
                            []
                            0
                            (Integer 4)
                            ()
                        )
                        ()
                        .false.
                        .false.
                    )
                    (IntrinsicImpureSubroutine
                        CoSum
                        [(Var 2 val)
                        (IntegerConstant 1 (Integer 4) Decimal)]
                        0
                    )
                    (If
                        ()
                        (IntegerCompare
                            (IntrinsicElementalFunction
                                ThisImage
                                []
                                0
                                (Integer 4)
                                ()
                            )
                            Eq
                            (IntegerConstant 1 (Integer 4) Decimal)
                            (Logical 4)
                            ()
                        )
                        [(FileWrite
                            0
                            (IntegerConstant 6 (Integer 4) Decimal)
                            (Var 2 lfortran_iomsg)
                            ()
                            ()
                            [(StringFormat
                                ()
                                [(StringConstant
                                    "The sum is "
                                    (String 1 (IntegerConstant 11 (Integer 4) Decimal) ExpressionLength DescriptorString)
                                )
                                (Var 2 val)]
                                FormatFortran
                                (Allocatable
                                    (String 1 () DeferredLength DescriptorString)
                                )
                                ()
                            )]
                            ()
                            ()
                            ()
                            .true.
                            ()
                            ()
                            ()
                            ()
                        )]
                        []
                    )]
                )
        })
    []
)
