(TranslationUnit
    (SymbolTable
        1
        {
            arrays_23:
                (Module
                    (SymbolTable
                        2
                        {
                            add_context:
                                (Function
                                    (SymbolTable
                                        4
                                        {
                                            1_toml_context_num:
                                                (ExternalSymbol
                                                    4
                                                    1_toml_context_num
                                                    3 num
                                                    toml_context
                                                    []
                                                    num
                                                    Public
                                                ),
                                            1_toml_context_ptr:
                                                (ExternalSymbol
                                                    4
                                                    1_toml_context_ptr
                                                    3 ptr
                                                    toml_context
                                                    []
                                                    ptr
                                                    Public
                                                ),
                                            context:
                                                (Variable
                                                    4
                                                    context
                                                    []
                                                    In
                                                    ()
                                                    ()
                                                    Default
                                                    (StructType
                                                        2 toml_context
                                                    )
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                ),
                                            line_break:
                                                (Variable
                                                    4
                                                    line_break
                                                    []
                                                    Local
                                                    ()
                                                    ()
                                                    Default
                                                    (Integer 4)
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                ),
                                            message:
                                                (Variable
                                                    4
                                                    message
                                                    []
                                                    InOut
                                                    ()
                                                    ()
                                                    Default
                                                    (Allocatable
                                                        (String 1 -2 () DescriptorString)
                                                    )
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                ),
                                            num:
                                                (Variable
                                                    4
                                                    num
                                                    []
                                                    Local
                                                    ()
                                                    ()
                                                    Default
                                                    (String 1 20 () PointerString)
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                )
                                        })
                                    add_context
                                    (FunctionType
                                        [(Allocatable
                                            (String 1 -2 () DescriptorString)
                                        )
                                        (StructType
                                            2 toml_context
                                        )]
                                        ()
                                        Source
                                        Implementation
                                        ()
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        []
                                        .false.
                                    )
                                    []
                                    [(Var 4 message)
                                    (Var 4 context)]
                                    [(If
                                        (IntegerCompare
                                            (StructInstanceMember
                                                (Var 4 context)
                                                4 1_toml_context_num
                                                (Integer 4)
                                                ()
                                            )
                                            Gt
                                            (IntegerConstant 0 (Integer 4) Decimal)
                                            (Logical 4)
                                            ()
                                        )
                                        [(FileWrite
                                            0
                                            (Var 4 num)
                                            ()
                                            ()
                                            ()
                                            [(StringFormat
                                                (StringConstant
                                                    "(\"line\",1x,i0,\":\")"
                                                    (String 1 18 () PointerString)
                                                )
                                                [(StructInstanceMember
                                                    (Var 4 context)
                                                    4 1_toml_context_num
                                                    (Integer 4)
                                                    ()
                                                )]
                                                FormatFortran
                                                (String -1 0 () PointerString)
                                                ()
                                            )]
                                            ()
                                            ()
                                            ()
                                        )
                                        (Assignment
                                            (Var 4 message)
                                            (StringPhysicalCast
                                                (StringConcat
                                                    (StringSection
                                                        (Var 4 num)
                                                        (IntegerBinOp
                                                            (IntegerConstant 1 (Integer 4) Decimal)
                                                            Sub
                                                            (IntegerConstant 1 (Integer 4) Decimal)
                                                            (Integer 4)
                                                            (IntegerConstant 0 (Integer 4) Decimal)
                                                        )
                                                        (IntegerBinOp
                                                            (IntrinsicElementalFunction
                                                                StringLenTrim
                                                                [(Var 4 num)]
                                                                0
                                                                (Integer 4)
                                                                ()
                                                            )
                                                            Add
                                                            (IntegerConstant 1 (Integer 4) Decimal)
                                                            (Integer 4)
                                                            ()
                                                        )
                                                        (IntegerConstant 1 (Integer 4) Decimal)
                                                        (String 1 -3 (IntegerBinOp
                                                            (IntegerBinOp
                                                                (IntrinsicElementalFunction
                                                                    StringLenTrim
                                                                    [(Var 4 num)]
                                                                    0
                                                                    (Integer 4)
                                                                    ()
                                                                )
                                                                Add
                                                                (IntegerConstant 1 (Integer 4) Decimal)
                                                                (Integer 4)
                                                                ()
                                                            )
                                                            Sub
                                                            (IntegerBinOp
                                                                (IntegerConstant 1 (Integer 4) Decimal)
                                                                Sub
                                                                (IntegerConstant 1 (Integer 4) Decimal)
                                                                (Integer 4)
                                                                (IntegerConstant 0 (Integer 4) Decimal)
                                                            )
                                                            (Integer 4)
                                                            ()
                                                        ) PointerString)
                                                        ()
                                                    )
                                                    (StringPhysicalCast
                                                        (Var 4 message)
                                                        DescriptorString
                                                        PointerString
                                                        (Allocatable
                                                            (String 1 -2 () PointerString)
                                                        )
                                                        ()
                                                    )
                                                    (String 1 -1 () PointerString)
                                                    ()
                                                )
                                                PointerString
                                                DescriptorString
                                                (Allocatable
                                                    (String 1 -1 () DescriptorString)
                                                )
                                                ()
                                            )
                                            ()
                                        )]
                                        []
                                    )
                                    (Assignment
                                        (Var 4 message)
                                        (StringPhysicalCast
                                            (StringConcat
                                                (StringConcat
                                                    (StringConcat
                                                        (StringPhysicalCast
                                                            (Var 4 message)
                                                            DescriptorString
                                                            PointerString
                                                            (Allocatable
                                                                (String 1 -2 () PointerString)
                                                            )
                                                            ()
                                                        )
                                                        (StringConstant
                                                            "   | "
                                                            (String 1 5 () PointerString)
                                                        )
                                                        (String 1 -1 () PointerString)
                                                        ()
                                                    )
                                                    (StringSection
                                                        (StructInstanceMember
                                                            (Var 4 context)
                                                            4 1_toml_context_ptr
                                                            (Pointer
                                                                (String 1 -2 () PointerString)
                                                            )
                                                            ()
                                                        )
                                                        (IntegerBinOp
                                                            (IntegerConstant 1 (Integer 4) Decimal)
                                                            Sub
                                                            (IntegerConstant 1 (Integer 4) Decimal)
                                                            (Integer 4)
                                                            (IntegerConstant 0 (Integer 4) Decimal)
                                                        )
                                                        (Var 4 line_break)
                                                        (IntegerConstant 1 (Integer 4) Decimal)
                                                        (String 1 -3 (IntegerBinOp
                                                            (Var 4 line_break)
                                                            Sub
                                                            (IntegerBinOp
                                                                (IntegerConstant 1 (Integer 4) Decimal)
                                                                Sub
                                                                (IntegerConstant 1 (Integer 4) Decimal)
                                                                (Integer 4)
                                                                (IntegerConstant 0 (Integer 4) Decimal)
                                                            )
                                                            (Integer 4)
                                                            ()
                                                        ) PointerString)
                                                        ()
                                                    )
                                                    (String 1 -1 () PointerString)
                                                    ()
                                                )
                                                (StringConstant
                                                    "   |"
                                                    (String 1 4 () PointerString)
                                                )
                                                (String 1 -1 () PointerString)
                                                ()
                                            )
                                            PointerString
                                            DescriptorString
                                            (Allocatable
                                                (String 1 -1 () DescriptorString)
                                            )
                                            ()
                                        )
                                        ()
                                    )]
                                    ()
                                    Public
                                    .false.
                                    .false.
                                    ()
                                ),
                            toml_context:
                                (Struct
                                    (SymbolTable
                                        3
                                        {
                                            num:
                                                (Variable
                                                    3
                                                    num
                                                    []
                                                    Local
                                                    ()
                                                    ()
                                                    Default
                                                    (Integer 4)
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                ),
                                            pos:
                                                (Variable
                                                    3
                                                    pos
                                                    []
                                                    Local
                                                    ()
                                                    ()
                                                    Default
                                                    (Integer 4)
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                ),
                                            ptr:
                                                (Variable
                                                    3
                                                    ptr
                                                    []
                                                    Local
                                                    ()
                                                    ()
                                                    Default
                                                    (Pointer
                                                        (String 1 -2 () PointerString)
                                                    )
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                )
                                        })
                                    toml_context
                                    []
                                    [pos
                                    num
                                    ptr]
                                    Source
                                    Public
                                    .false.
                                    .false.
                                    []
                                    ()
                                    ()
                                )
                        })
                    arrays_23
                    []
                    .false.
                    .false.
                ),
            main:
                (Program
                    (SymbolTable
                        5
                        {
                            add_context:
                                (ExternalSymbol
                                    5
                                    add_context
                                    2 add_context
                                    arrays_23
                                    []
                                    add_context
                                    Public
                                ),
                            toml_context:
                                (ExternalSymbol
                                    5
                                    toml_context
                                    2 toml_context
                                    arrays_23
                                    []
                                    toml_context
                                    Public
                                )
                        })
                    main
                    [arrays_23]
                    [(Print
                        (StringConstant
                            "working"
                            (String 1 7 () PointerString)
                        )
                    )]
                )
        })
    []
)
