(TranslationUnit
    (SymbolTable
        1
        {
            array12:
                (Module
                    (SymbolTable
                        2
                        {
                            c_associated:
                                (ExternalSymbol
                                    2
                                    c_associated
                                    4 c_associated
                                    lfortran_intrinsic_iso_c_binding
                                    []
                                    c_associated
                                    Public
                                ),
                            c_char:
                                (ExternalSymbol
                                    2
                                    c_char
                                    4 c_char
                                    lfortran_intrinsic_iso_c_binding
                                    []
                                    c_char
                                    Public
                                ),
                            c_int:
                                (ExternalSymbol
                                    2
                                    c_int
                                    4 c_int
                                    lfortran_intrinsic_iso_c_binding
                                    []
                                    c_int
                                    Public
                                ),
                            c_ptr:
                                (ExternalSymbol
                                    2
                                    c_ptr
                                    4 c_ptr
                                    lfortran_intrinsic_iso_c_binding
                                    []
                                    c_ptr
                                    Public
                                ),
                            get_current_directory:
                                (Function
                                    (SymbolTable
                                        14
                                        {
                                            buffersize:
                                                (Variable
                                                    14
                                                    buffersize
                                                    []
                                                    Local
                                                    (IntegerConstant 1000 (Integer 4) Decimal)
                                                    (IntegerConstant 1000 (Integer 4) Decimal)
                                                    Parameter
                                                    (Integer 4)
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                    .false.
                                                    ()
                                                    .false.
                                                    .false.
                                                    NotMethod
                                                    ()
                                                    []
                                                ),
                                            cpath:
                                                (Variable
                                                    14
                                                    cpath
                                                    []
                                                    Local
                                                    ()
                                                    ()
                                                    Default
                                                    (Allocatable
                                                        (Array
                                                            (String 1 (IntegerConstant 1 (Integer 4) Decimal) ExpressionLength DescriptorString)
                                                            [(()
                                                            ())]
                                                            DescriptorArray
                                                        )
                                                    )
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                    .false.
                                                    ()
                                                    .false.
                                                    .false.
                                                    NotMethod
                                                    ()
                                                    []
                                                ),
                                            path:
                                                (Variable
                                                    14
                                                    path
                                                    []
                                                    Out
                                                    ()
                                                    ()
                                                    Default
                                                    (Allocatable
                                                        (String 1 () DeferredLength DescriptorString)
                                                    )
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                    .false.
                                                    ()
                                                    .false.
                                                    .false.
                                                    NotMethod
                                                    ()
                                                    []
                                                ),
                                            tmp:
                                                (Variable
                                                    14
                                                    tmp
                                                    []
                                                    Local
                                                    ()
                                                    ()
                                                    Default
                                                    (CPtr)
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                    .false.
                                                    ()
                                                    .false.
                                                    .false.
                                                    NotMethod
                                                    ()
                                                    []
                                                )
                                        })
                                    get_current_directory
                                    (FunctionType
                                        [(Allocatable
                                            (String 1 () DeferredLength DescriptorString)
                                        )]
                                        ()
                                        Source
                                        Implementation
                                        ()
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        []
                                        .false.
                                    )
                                    [getcwd]
                                    [(Var 14 path)]
                                    [(Allocate
                                        [((Var 14 cpath)
                                        [((IntegerConstant 1 (Integer 4) Decimal)
                                        (IntegerConstant 1000 (Integer 4) Decimal))]
                                        ()
                                        ()
                                        ())]
                                        ()
                                        ()
                                        ()
                                    )
                                    (Assignment
                                        (Var 14 tmp)
                                        (FunctionCall
                                            2 getcwd
                                            ()
                                            [((ArrayPhysicalCast
                                                (Var 14 cpath)
                                                DescriptorArray
                                                StringArraySinglePointer
                                                (Array
                                                    (String 1 (IntegerConstant 1 (Integer 4) Decimal) ExpressionLength DescriptorString)
                                                    [(()
                                                    ())]
                                                    StringArraySinglePointer
                                                )
                                                ()
                                            ))
                                            ((Var 14 buffersize))]
                                            (CPtr)
                                            ()
                                            ()
                                        )
                                        ()
                                        .false.
                                        .false.
                                    )
                                    (If
                                        ()
                                        (PointerAssociated
                                            (Var 14 tmp)
                                            ()
                                            (Logical 4)
                                            ()
                                        )
                                        [(Print
                                            (StringFormat
                                                ()
                                                [(StringConstant
                                                    "PWD: "
                                                    (String 1 (IntegerConstant 5 (Integer 4) Decimal) ExpressionLength DescriptorString)
                                                )
                                                (Var 14 tmp)]
                                                FormatFortran
                                                (Allocatable
                                                    (String 1 () DeferredLength DescriptorString)
                                                )
                                                ()
                                            )
                                        )]
                                        []
                                    )]
                                    ()
                                    Public
                                    .false.
                                    .false.
                                    ()
                                ),
                            getcwd:
                                (Function
                                    (SymbolTable
                                        13
                                        {
                                            buf:
                                                (Variable
                                                    13
                                                    buf
                                                    []
                                                    In
                                                    ()
                                                    ()
                                                    Default
                                                    (Array
                                                        (String 1 (IntegerConstant 1 (Integer 4) Decimal) ExpressionLength CChar)
                                                        [(()
                                                        ())]
                                                        StringArraySinglePointer
                                                    )
                                                    ()
                                                    BindC
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                    .false.
                                                    ()
                                                    .false.
                                                    .false.
                                                    NotMethod
                                                    ()
                                                    []
                                                ),
                                            bufsize:
                                                (Variable
                                                    13
                                                    bufsize
                                                    []
                                                    In
                                                    ()
                                                    ()
                                                    Default
                                                    (Integer 4)
                                                    ()
                                                    BindC
                                                    Public
                                                    Required
                                                    .true.
                                                    .false.
                                                    .false.
                                                    ()
                                                    .false.
                                                    .false.
                                                    NotMethod
                                                    ()
                                                    []
                                                ),
                                            path:
                                                (Variable
                                                    13
                                                    path
                                                    []
                                                    ReturnVar
                                                    ()
                                                    ()
                                                    Default
                                                    (CPtr)
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                    .false.
                                                    ()
                                                    .false.
                                                    .false.
                                                    NotMethod
                                                    ()
                                                    []
                                                )
                                        })
                                    getcwd
                                    (FunctionType
                                        [(Array
                                            (String 1 (IntegerConstant 1 (Integer 4) Decimal) ExpressionLength CChar)
                                            [(()
                                            ())]
                                            StringArraySinglePointer
                                        )
                                        (Integer 4)]
                                        (CPtr)
                                        BindC
                                        Interface
                                        "getcwd"
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        []
                                        .false.
                                    )
                                    []
                                    [(Var 13 buf)
                                    (Var 13 bufsize)]
                                    []
                                    (Var 13 path)
                                    Public
                                    .false.
                                    .false.
                                    ()
                                )
                        })
                    array12
                    ()
                    [iso_c_binding
                    array12]
                    .false.
                    .false.
                    .false.
                ),
            iso_c_binding:
                (IntrinsicModule lfortran_intrinsic_iso_c_binding)
        })
    []
)
