(TranslationUnit
    (SymbolTable
        1
        {
            closuretest:
                (Program
                    (SymbolTable
                        2
                        {
                            add_z:
                                (Function
                                    (SymbolTable
                                        5
                                        {
                                            x:
                                                (Variable
                                                    5
                                                    x
                                                    []
                                                    Unspecified
                                                    ()
                                                    ()
                                                    Default
                                                    (Integer 4)
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                ),
                                            y:
                                                (Variable
                                                    5
                                                    y
                                                    []
                                                    ReturnVar
                                                    ()
                                                    ()
                                                    Default
                                                    (Integer 4)
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                )
                                        })
                                    add_z
                                    (FunctionType
                                        [(Integer 4)]
                                        (Integer 4)
                                        Source
                                        Implementation
                                        ()
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        []
                                        .false.
                                    )
                                    []
                                    [(Var 5 x)]
                                    [(Assignment
                                        (Var 5 y)
                                        (IntegerBinOp
                                            (Var 5 x)
                                            Add
                                            (Var 2 z)
                                            (Integer 4)
                                            ()
                                        )
                                        ()
                                    )]
                                    (Var 5 y)
                                    Public
                                    .false.
                                    .false.
                                    ()
                                ),
                            apply:
                                (Function
                                    (SymbolTable
                                        3
                                        {
                                            fun:
                                                (Function
                                                    (SymbolTable
                                                        4
                                                        {
                                                            fun:
                                                                (Variable
                                                                    4
                                                                    fun
                                                                    []
                                                                    ReturnVar
                                                                    ()
                                                                    ()
                                                                    Default
                                                                    (Integer 4)
                                                                    ()
                                                                    Source
                                                                    Public
                                                                    Required
                                                                    .false.
                                                                    .false.
                                                                ),
                                                            x:
                                                                (Variable
                                                                    4
                                                                    x
                                                                    []
                                                                    Unspecified
                                                                    ()
                                                                    ()
                                                                    Default
                                                                    (Integer 4)
                                                                    ()
                                                                    Source
                                                                    Public
                                                                    Required
                                                                    .false.
                                                                    .false.
                                                                )
                                                        })
                                                    fun
                                                    (FunctionType
                                                        [(Integer 4)]
                                                        (Integer 4)
                                                        Source
                                                        Interface
                                                        ()
                                                        .false.
                                                        .false.
                                                        .false.
                                                        .false.
                                                        .false.
                                                        []
                                                        .false.
                                                    )
                                                    []
                                                    [(Var 4 x)]
                                                    []
                                                    (Var 4 fun)
                                                    Public
                                                    .false.
                                                    .false.
                                                    ()
                                                ),
                                            x:
                                                (Variable
                                                    3
                                                    x
                                                    []
                                                    Unspecified
                                                    ()
                                                    ()
                                                    Default
                                                    (Integer 4)
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                ),
                                            y:
                                                (Variable
                                                    3
                                                    y
                                                    []
                                                    ReturnVar
                                                    ()
                                                    ()
                                                    Default
                                                    (Integer 4)
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                )
                                        })
                                    apply
                                    (FunctionType
                                        [(FunctionType
                                            [(Integer 4)]
                                            (Integer 4)
                                            Source
                                            Interface
                                            ()
                                            .false.
                                            .false.
                                            .false.
                                            .false.
                                            .false.
                                            []
                                            .false.
                                        )
                                        (Integer 4)]
                                        (Integer 4)
                                        Source
                                        Implementation
                                        ()
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        []
                                        .false.
                                    )
                                    []
                                    [(Var 3 fun)
                                    (Var 3 x)]
                                    [(Assignment
                                        (Var 3 y)
                                        (FunctionCall
                                            3 fun
                                            ()
                                            [((Var 3 x))]
                                            (Integer 4)
                                            ()
                                            ()
                                        )
                                        ()
                                    )]
                                    (Var 3 y)
                                    Public
                                    .false.
                                    .false.
                                    ()
                                ),
                            z:
                                (Variable
                                    2
                                    z
                                    []
                                    Local
                                    ()
                                    ()
                                    Default
                                    (Integer 4)
                                    ()
                                    Source
                                    Public
                                    Required
                                    .false.
                                    .false.
                                )
                        })
                    closuretest
                    []
                    [(DoLoop
                        ()
                        ((Var 2 z)
                        (IntegerConstant 1 (Integer 4) Decimal)
                        (IntegerConstant 10 (Integer 4) Decimal)
                        ())
                        [(Print
                            (StringFormat
                                ()
                                [(FunctionCall
                                    2 apply
                                    ()
                                    [((Var 2 add_z))
                                    ((IntegerConstant 1 (Integer 4) Decimal))]
                                    (Integer 4)
                                    ()
                                    ()
                                )]
                                FormatFortran
                                (String -1 0 () PointerString)
                                ()
                            )
                        )]
                        []
                    )]
                )
        })
    []
)
