(TranslationUnit
    (SymbolTable
        1
        {
            derived_types_module_19:
                (Module
                    (SymbolTable
                        4
                        {
                            check_proc:
                                (Function
                                    (SymbolTable
                                        7
                                        {
                                            array:
                                                (Variable
                                                    7
                                                    array
                                                    []
                                                    Local
                                                    ()
                                                    ()
                                                    Default
                                                    (Pointer
                                                        (StructType
                                                            4 child_value
                                                        )
                                                    )
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                ),
                                            ptr:
                                                (Variable
                                                    7
                                                    ptr
                                                    []
                                                    Local
                                                    ()
                                                    ()
                                                    Default
                                                    (Pointer
                                                        (ClassType
                                                            4 toml_value
                                                        )
                                                    )
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                ),
                                            ~select_type_block_:
                                                (Block
                                                    (SymbolTable
                                                        8
                                                        {
                                                            1_child_value_ok:
                                                                (ExternalSymbol
                                                                    8
                                                                    1_child_value_ok
                                                                    5 ok
                                                                    child_value
                                                                    []
                                                                    ok
                                                                    Public
                                                                )
                                                        })
                                                    ~select_type_block_
                                                    [(If
                                                        (StructInstanceMember
                                                            (Var 7 ptr)
                                                            8 1_child_value_ok
                                                            (Logical 4)
                                                            ()
                                                        )
                                                        [(Associate
                                                            (Var 7 array)
                                                            (Var 7 ptr)
                                                        )]
                                                        [(SubroutineCall
                                                            4 not_ok
                                                            ()
                                                            []
                                                            ()
                                                        )
                                                        (Return)]
                                                    )]
                                                )
                                        })
                                    check_proc
                                    (FunctionType
                                        []
                                        ()
                                        Source
                                        Implementation
                                        ()
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        []
                                        .false.
                                    )
                                    [not_ok
                                    default_class]
                                    []
                                    [(If
                                        (PointerAssociated
                                            (Var 7 ptr)
                                            ()
                                            (Logical 4)
                                            ()
                                        )
                                        [(SelectType
                                            (Var 7 ptr)
                                            [(TypeStmtName
                                                4 child_value
                                                [(BlockCall
                                                    -1
                                                    7 ~select_type_block_
                                                )]
                                            )]
                                            [(SubroutineCall
                                                4 default_class
                                                ()
                                                []
                                                ()
                                            )
                                            (Return)]
                                        )]
                                        []
                                    )]
                                    ()
                                    Public
                                    .false.
                                    .false.
                                    ()
                                ),
                            child_value:
                                (Struct
                                    (SymbolTable
                                        5
                                        {
                                            ok:
                                                (Variable
                                                    5
                                                    ok
                                                    []
                                                    Local
                                                    ()
                                                    ()
                                                    Default
                                                    (Logical 4)
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                )
                                        })
                                    child_value
                                    []
                                    [ok]
                                    Source
                                    Public
                                    .false.
                                    .false.
                                    []
                                    ()
                                    4 toml_value
                                ),
                            default_class:
                                (Function
                                    (SymbolTable
                                        9
                                        {
                                            
                                        })
                                    default_class
                                    (FunctionType
                                        []
                                        ()
                                        Source
                                        Implementation
                                        ()
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        []
                                        .false.
                                    )
                                    []
                                    []
                                    [(Print
                                        (StringConstant
                                            "default class"
                                            (String 1 13 () PointerString)
                                        )
                                    )]
                                    ()
                                    Public
                                    .false.
                                    .false.
                                    ()
                                ),
                            new:
                                (GenericProcedure
                                    4
                                    new
                                    [4 check_proc]
                                    Public
                                ),
                            not_ok:
                                (Function
                                    (SymbolTable
                                        10
                                        {
                                            
                                        })
                                    not_ok
                                    (FunctionType
                                        []
                                        ()
                                        Source
                                        Implementation
                                        ()
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        []
                                        .false.
                                    )
                                    []
                                    []
                                    [(Print
                                        (StringConstant
                                            "not ok"
                                            (String 1 6 () PointerString)
                                        )
                                    )]
                                    ()
                                    Public
                                    .false.
                                    .false.
                                    ()
                                ),
                            toml_value:
                                (Struct
                                    (SymbolTable
                                        6
                                        {
                                            key:
                                                (Variable
                                                    6
                                                    key
                                                    []
                                                    Local
                                                    ()
                                                    ()
                                                    Default
                                                    (Allocatable
                                                        (String 1 -2 () DescriptorString)
                                                    )
                                                    ()
                                                    Source
                                                    Public
                                                    Required
                                                    .false.
                                                    .false.
                                                )
                                        })
                                    toml_value
                                    []
                                    [key]
                                    Source
                                    Public
                                    .false.
                                    .true.
                                    []
                                    ()
                                    ()
                                )
                        })
                    derived_types_module_19
                    []
                    .true.
                    .false.
                ),
            derived_types_module_19_1:
                (Module
                    (SymbolTable
                        2
                        {
                            check_here:
                                (Function
                                    (SymbolTable
                                        11
                                        {
                                            
                                        })
                                    check_here
                                    (FunctionType
                                        []
                                        ()
                                        Source
                                        Implementation
                                        ()
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        .false.
                                        []
                                        .false.
                                    )
                                    []
                                    []
                                    [(SubroutineCall
                                        2 check_proc
                                        ()
                                        []
                                        ()
                                    )]
                                    ()
                                    Public
                                    .false.
                                    .false.
                                    ()
                                ),
                            check_proc:
                                (ExternalSymbol
                                    2
                                    check_proc
                                    4 check_proc
                                    derived_types_module_19
                                    []
                                    check_proc
                                    Public
                                )
                        })
                    derived_types_module_19_1
                    [derived_types_module_19]
                    .false.
                    .false.
                ),
            main:
                (Program
                    (SymbolTable
                        12
                        {
                            
                        })
                    main
                    []
                    [(Print
                        (StringConstant
                            "running derived_types_19 main program"
                            (String 1 37 () PointerString)
                        )
                    )]
                )
        })
    []
)
