diff --git a/integration_tests/CMakeLists.txt b/integration_tests/CMakeLists.txt index dfc6893c05..83063546a2 100644 --- a/integration_tests/CMakeLists.txt +++ b/integration_tests/CMakeLists.txt @@ -97,6 +97,7 @@ macro(RUN) endif() add_executable(${name} ${name}.c ${RUN_EXTRAFILES}) + target_include_directories(${name} PRIVATE ${CMAKE_SOURCE_DIR}) set_target_properties(${name} PROPERTIES LINKER_LANGUAGE C) target_link_libraries(${name} lpython_rtlib) add_test(${name} ${CMAKE_CURRENT_BINARY_DIR}/${name}) diff --git a/integration_tests/bindc_03.py b/integration_tests/bindc_03.py index 1cc8d41c6b..3a1a9fbf33 100644 --- a/integration_tests/bindc_03.py +++ b/integration_tests/bindc_03.py @@ -4,14 +4,14 @@ class ArrayWrapped: array: CPtr -@ccall +@ccall(header="bindc_03b.h") def g(a: CPtr, value: i32, offset_value: bool) -> None: pass def gpy(a: CPtr, value: i32, offset_value: bool) -> None: g(a, value, offset_value) -@ccall +@ccall(header="bindc_03b.h") def get_array(size: i32) -> CPtr: pass diff --git a/integration_tests/bindc_05.py b/integration_tests/bindc_05.py index 4b3121ccc9..b01ceee8ba 100644 --- a/integration_tests/bindc_05.py +++ b/integration_tests/bindc_05.py @@ -4,11 +4,11 @@ class Void: data: CPtr -@ccall +@ccall(header="bindc_05b.h") def trunc_custom(value: Pointer[CPtr]) -> CPtr: pass -@ccall +@ccall(header="bindc_05b.h") def print_value(value: CPtr): pass diff --git a/integration_tests/bindc_05b.h b/integration_tests/bindc_05b.h index b4533c4320..95d372053c 100644 --- a/integration_tests/bindc_05b.h +++ b/integration_tests/bindc_05b.h @@ -1,2 +1,7 @@ +#ifndef BINDC_05BH +#define BINDC_05BH + void* trunc_custom(void** value); void print_value(float* value); + +#endif // BINDC_05BH diff --git a/integration_tests/bindc_06.py b/integration_tests/bindc_06.py index 7d3b46a69a..d01ca9b800 100644 --- a/integration_tests/bindc_06.py +++ b/integration_tests/bindc_06.py @@ -6,7 +6,7 @@ class CompareOperator: op_code: i32 op_name: str -@ccall +@ccall(header="bindc_06b.h") def compare_array_element(value1: i32, value2: f64, op: i32) -> i32: pass diff --git a/integration_tests/bindc_06b.h b/integration_tests/bindc_06b.h index 0e5fac7de4..680d387c7f 100644 --- a/integration_tests/bindc_06b.h +++ b/integration_tests/bindc_06b.h @@ -1,3 +1,8 @@ +#ifndef BINDC_06BH +#define BINDC_06BH + #include int32_t compare_array_element(int32_t value1, double value2, int32_t code); + +#endif // BINDC_06BH diff --git a/src/libasr/ASR.asdl b/src/libasr/ASR.asdl index 34af5be3cd..12ada08a10 100644 --- a/src/libasr/ASR.asdl +++ b/src/libasr/ASR.asdl @@ -86,7 +86,7 @@ symbol bool loaded_from_mod, bool intrinsic) | Function(symbol_table symtab, identifier name, ttype function_signature, identifier* dependencies, expr* args, stmt* body, expr? return_var, - access access, bool deterministic, bool side_effect_free) + access access, bool deterministic, bool side_effect_free, string? c_header) | GenericProcedure(symbol_table parent_symtab, identifier name, symbol* procs, access access) | CustomOperator(symbol_table parent_symtab, identifier name, diff --git a/src/libasr/asr_utils.h b/src/libasr/asr_utils.h index 2d5e94ef1f..6bd71febe6 100644 --- a/src/libasr/asr_utils.h +++ b/src/libasr/asr_utils.h @@ -2660,7 +2660,7 @@ inline ASR::asr_t* make_Function_t_util(Allocator& al, const Location& loc, ASR::deftypeType m_deftype, char* m_bindc_name, bool m_elemental, bool m_pure, bool m_module, bool m_inline, bool m_static, ASR::ttype_t** m_type_params, size_t n_type_params, ASR::symbol_t** m_restrictions, size_t n_restrictions, - bool m_is_restriction, bool m_deterministic, bool m_side_effect_free) { + bool m_is_restriction, bool m_deterministic, bool m_side_effect_free, char *m_c_header=nullptr) { Vec arg_types; arg_types.reserve(al, n_args); for( size_t i = 0; i < n_args; i++ ) { @@ -2678,7 +2678,7 @@ inline ASR::asr_t* make_Function_t_util(Allocator& al, const Location& loc, return ASR::make_Function_t( al, loc, m_symtab, m_name, func_type, m_dependencies, n_dependencies, a_args, n_args, m_body, n_body, m_return_var, m_access, m_deterministic, - m_side_effect_free); + m_side_effect_free, m_c_header); } class ExprStmtDuplicator: public ASR::BaseExprStmtDuplicator diff --git a/src/libasr/codegen/asr_to_c.cpp b/src/libasr/codegen/asr_to_c.cpp index e127a1076b..0be0354feb 100644 --- a/src/libasr/codegen/asr_to_c.cpp +++ b/src/libasr/codegen/asr_to_c.cpp @@ -279,7 +279,7 @@ class ASRToCVisitor : public BaseCCPPVisitor std::string dims; use_ref = use_ref && !is_array; if (ASRUtils::is_integer(*v_m_type)) { - headers.insert("inttypes"); + headers.insert("inttypes.h"); ASR::Integer_t *t = ASR::down_cast(v_m_type); std::string type_name = "int" + std::to_string(t->m_kind * 8) + "_t"; if( is_array ) { @@ -354,7 +354,7 @@ class ASRToCVisitor : public BaseCCPPVisitor sub = format_type_c(dims, type_name, v_m_name, use_ref, dummy); } } else if (ASRUtils::is_complex(*v_m_type)) { - headers.insert("complex"); + headers.insert("complex.h"); ASR::Complex_t *t = ASR::down_cast(v_m_type); std::string type_name = "float complex"; if (t->m_kind == 8) type_name = "double complex"; @@ -713,8 +713,11 @@ R"( } } std::string to_include = ""; - for (auto s: headers) { - to_include += "#include <" + s + ".h>\n"; + for (auto &s: headers) { + to_include += "#include <" + s + ">\n"; + } + for (auto &s: user_headers) { + to_include += "#include \"" + s + "\"\n"; } if( c_ds_api->get_func_decls().size() > 0 ) { array_types_decls += "\n" + c_ds_api->get_func_decls() + "\n"; @@ -1006,7 +1009,7 @@ R"( } void visit_ComplexConstant(const ASR::ComplexConstant_t &x) { - headers.insert("complex"); + headers.insert("complex.h"); std::string re = std::to_string(x.m_re); std::string im = std::to_string(x.m_im); src = "CMPLX(" + re + ", " + im + ")"; @@ -1203,7 +1206,7 @@ R"( void visit_ArrayConstant(const ASR::ArrayConstant_t& x) { // TODO: Support and test for multi-dimensional array constants - headers.insert("stdarg"); + headers.insert("stdarg.h"); std::string array_const = ""; for( size_t i = 0; i < x.n_args; i++ ) { visit_expr(*x.m_args[i]); diff --git a/src/libasr/codegen/asr_to_c_cpp.h b/src/libasr/codegen/asr_to_c_cpp.h index dd24a4e81b..24cf7b84b3 100644 --- a/src/libasr/codegen/asr_to_c_cpp.h +++ b/src/libasr/codegen/asr_to_c_cpp.h @@ -111,7 +111,7 @@ class BaseCCPPVisitor : public ASR::BaseVisitor // Use std::complex or float/double complex bool gen_stdcomplex; bool is_c; - std::set headers; + std::set headers, user_headers; std::vector tmp_buffer_src; SymbolTable* global_scope; @@ -542,9 +542,16 @@ R"(#include src = ""; return; } - if (ASRUtils::get_FunctionType(x)->m_abi == ASR::abiType::BindC - && ASRUtils::get_FunctionType(x)->m_deftype == ASR::deftypeType::Interface) { - sub += ";\n"; + ASR::FunctionType_t *f_type = ASRUtils::get_FunctionType(x); + if (f_type->m_abi == ASR::abiType::BindC + && f_type->m_deftype == ASR::deftypeType::Interface) { + if (x.m_c_header) { + user_headers.insert(std::string(x.m_c_header)); + src = ""; + return; + } else { + sub += ";\n"; + } } else { sub += "\n"; @@ -1368,7 +1375,7 @@ R"(#include } case (ASR::cast_kindType::IntegerToComplex) : { if (is_c) { - headers.insert("complex"); + headers.insert("complex.h"); src = "CMPLX(" + src + ", 0)"; } else { src = "std::complex(" + src + ")"; @@ -1378,7 +1385,7 @@ R"(#include } case (ASR::cast_kindType::ComplexToReal) : { if (is_c) { - headers.insert("complex"); + headers.insert("complex.h"); src = "creal(" + src + ")"; } else { src = "std::real(" + src + ")"; @@ -1388,7 +1395,7 @@ R"(#include } case (ASR::cast_kindType::RealToComplex) : { if (is_c) { - headers.insert("complex"); + headers.insert("complex.h"); src = "CMPLX(" + src + ", 0.0)"; } else { src = "std::complex(" + src + ")"; @@ -1593,7 +1600,7 @@ R"(#include } void visit_ComplexRe(const ASR::ComplexRe_t &x) { - headers.insert("complex"); + headers.insert("complex.h"); CHECK_FAST_C_CPP(compiler_options, x) self().visit_expr(*x.m_arg); if (is_c) { @@ -1604,7 +1611,7 @@ R"(#include } void visit_ComplexIm(const ASR::ComplexIm_t &x) { - headers.insert("complex"); + headers.insert("complex.h"); CHECK_FAST_C_CPP(compiler_options, x) self().visit_expr(*x.m_arg); if (is_c) { @@ -1683,7 +1690,7 @@ R"(#include case (ASR::binopType::Pow) : { src = "pow(" + left + ", " + right + ")"; if (is_c) { - headers.insert("math"); + headers.insert("math.h"); } else { src = "std::" + src; } diff --git a/src/lpython/semantics/python_ast_to_asr.cpp b/src/lpython/semantics/python_ast_to_asr.cpp index 4011ade76e..c04c277119 100644 --- a/src/lpython/semantics/python_ast_to_asr.cpp +++ b/src/lpython/semantics/python_ast_to_asr.cpp @@ -3483,7 +3483,7 @@ class SymbolTableVisitor : public CommonVisitor { bool is_restriction = false; bool is_deterministic = false; bool is_side_effect_free = false; - + char *bindc_name=nullptr, *c_header_file=nullptr; if (x.n_decorator_list > 0) { for(size_t i=0; i { throw SemanticError("Decorator: " + name + " is not supported", x.base.base.loc); } + } else if (AST::is_a(*dec)) { + AST::Call_t *call_d = AST::down_cast(dec); + if (AST::is_a(*call_d->m_func)) { + std::string name = AST::down_cast(call_d->m_func)->m_id; + if (name == "ccall") { + current_procedure_abi_type = ASR::abiType::BindC; + current_procedure_interface = true; + if (call_d->n_keywords > 0) { + for (size_t i=0; i < call_d->n_keywords; i++) { + if (std::string(call_d->m_keywords[i].m_arg) == "header") { + if (AST::is_a(*call_d->m_keywords[i].m_value)) { + std::string header_name = AST::down_cast( + call_d->m_keywords[i].m_value)->m_value; + c_header_file = s2c(al, header_name); + } else { + throw SemanticError("header should be constant string in ccall", + x.base.base.loc); + } + } + } + } + } else { + throw SemanticError("Unsupported Decorator type", + x.base.base.loc); + } + } else { + throw SemanticError("Only Name is supported in Call decorators for now", + x.base.base.loc); + } } else { throw SemanticError("Unsupported Decorator type", x.base.base.loc); @@ -3612,7 +3641,6 @@ class SymbolTableVisitor : public CommonVisitor { current_procedure_interface) { deftype = ASR::deftypeType::Interface; } - char *bindc_name=nullptr; if (x.m_returns && !AST::is_a(*x.m_returns)) { if (AST::is_a(*x.m_returns) || AST::is_a(*x.m_returns)) { std::string return_var_name = "_lpython_return_variable"; @@ -3648,7 +3676,8 @@ class SymbolTableVisitor : public CommonVisitor { /* a_return_var */ ASRUtils::EXPR(return_var_ref), current_procedure_abi_type, s_access, deftype, bindc_name, vectorize, false, false, is_inline, is_static, - tps.p, tps.size(), nullptr, 0, is_restriction, is_deterministic, is_side_effect_free); + tps.p, tps.size(), nullptr, 0, is_restriction, is_deterministic, is_side_effect_free, + c_header_file); return_variable->m_type = return_type_; } else { throw SemanticError("Return variable must be an identifier (Name AST node) or an array (Subscript AST node)", @@ -3669,7 +3698,8 @@ class SymbolTableVisitor : public CommonVisitor { current_procedure_abi_type, s_access, deftype, bindc_name, false, is_pure, is_module, is_inline, is_static, - tps.p, tps.size(), nullptr, 0, is_restriction, is_deterministic, is_side_effect_free); + tps.p, tps.size(), nullptr, 0, is_restriction, is_deterministic, is_side_effect_free, + c_header_file); } ASR::symbol_t * t = ASR::down_cast(tmp); parent_scope->add_symbol(sym_name, t); diff --git a/tests/reference/asr-array_01_decl-f955627.json b/tests/reference/asr-array_01_decl-f955627.json index 6237cc539b..0ed1b33196 100644 --- a/tests/reference/asr-array_01_decl-f955627.json +++ b/tests/reference/asr-array_01_decl-f955627.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-array_01_decl-f955627.stdout", - "stdout_hash": "c446111843674f99b678a4719a280095d6dcd5426250fd2634b3a1ef", + "stdout_hash": "ae255051c7b45506791318e252b42358043c41c3f3c13848d11e91b8", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-array_01_decl-f955627.stdout b/tests/reference/asr-array_01_decl-f955627.stdout index 07b92f74ae..733c4a5705 100644 --- a/tests/reference/asr-array_01_decl-f955627.stdout +++ b/tests/reference/asr-array_01_decl-f955627.stdout @@ -88,6 +88,7 @@ Public .false. .false. + () ), accept_f32_array: (Function @@ -187,6 +188,7 @@ Public .false. .false. + () ), accept_f64_array: (Function @@ -278,6 +280,7 @@ Public .false. .false. + () ), accept_i16_array: (Function @@ -371,6 +374,7 @@ Public .false. .false. + () ), accept_i32_array: (Function @@ -459,6 +463,7 @@ Public .false. .false. + () ), accept_i64_array: (Function @@ -552,6 +557,7 @@ Public .false. .false. + () ), declare_arrays: (Function @@ -762,6 +768,7 @@ Public .false. .false. + () ) }) _global_symbols @@ -872,6 +879,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arccosh: (Function @@ -944,6 +952,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsin: (Function @@ -1016,6 +1025,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsinh: (Function @@ -1088,6 +1098,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctan: (Function @@ -1160,6 +1171,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctanh: (Function @@ -1232,6 +1244,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__ceil: (Function @@ -1384,6 +1397,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cos: (Function @@ -1456,6 +1470,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cosh: (Function @@ -1528,6 +1543,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__degrees: (Function @@ -1608,6 +1624,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__exp: (Function @@ -1680,6 +1697,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__floor: (Function @@ -1832,6 +1850,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log: (Function @@ -1904,6 +1923,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log10: (Function @@ -1976,6 +1996,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log2: (Function @@ -2064,6 +2085,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__mod: (Function @@ -2200,6 +2222,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__radians: (Function @@ -2280,6 +2303,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sin: (Function @@ -2352,6 +2376,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sinh: (Function @@ -2424,6 +2449,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sqrt: (Function @@ -2520,6 +2546,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tan: (Function @@ -2592,6 +2619,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tanh: (Function @@ -2664,6 +2692,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccos: (Function @@ -2736,6 +2765,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccosh: (Function @@ -2808,6 +2838,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsin: (Function @@ -2880,6 +2911,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsinh: (Function @@ -2952,6 +2984,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctan: (Function @@ -3024,6 +3057,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctanh: (Function @@ -3096,6 +3130,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__ceil: (Function @@ -3241,6 +3276,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cos: (Function @@ -3313,6 +3349,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cosh: (Function @@ -3385,6 +3422,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__degrees: (Function @@ -3470,6 +3508,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__exp: (Function @@ -3542,6 +3581,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__floor: (Function @@ -3687,6 +3727,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log: (Function @@ -3759,6 +3800,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log10: (Function @@ -3831,6 +3873,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log2: (Function @@ -3927,6 +3970,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__mod: (Function @@ -4053,6 +4097,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__radians: (Function @@ -4138,6 +4183,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sin: (Function @@ -4210,6 +4256,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sinh: (Function @@ -4282,6 +4329,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sqrt: (Function @@ -4386,6 +4434,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tan: (Function @@ -4458,6 +4507,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tanh: (Function @@ -4530,6 +4580,7 @@ Public .false. .false. + () ), _lfortran_dacos: (Function @@ -4590,6 +4641,7 @@ Public .false. .false. + () ), _lfortran_dacosh: (Function @@ -4650,6 +4702,7 @@ Public .false. .false. + () ), _lfortran_dasin: (Function @@ -4710,6 +4763,7 @@ Public .false. .false. + () ), _lfortran_dasinh: (Function @@ -4770,6 +4824,7 @@ Public .false. .false. + () ), _lfortran_datan: (Function @@ -4830,6 +4885,7 @@ Public .false. .false. + () ), _lfortran_datanh: (Function @@ -4890,6 +4946,7 @@ Public .false. .false. + () ), _lfortran_dcos: (Function @@ -4950,6 +5007,7 @@ Public .false. .false. + () ), _lfortran_dcosh: (Function @@ -5010,6 +5068,7 @@ Public .false. .false. + () ), _lfortran_dexp: (Function @@ -5070,6 +5129,7 @@ Public .false. .false. + () ), _lfortran_dlog: (Function @@ -5130,6 +5190,7 @@ Public .false. .false. + () ), _lfortran_dlog10: (Function @@ -5190,6 +5251,7 @@ Public .false. .false. + () ), _lfortran_dsin: (Function @@ -5250,6 +5312,7 @@ Public .false. .false. + () ), _lfortran_dsinh: (Function @@ -5310,6 +5373,7 @@ Public .false. .false. + () ), _lfortran_dtan: (Function @@ -5370,6 +5434,7 @@ Public .false. .false. + () ), _lfortran_dtanh: (Function @@ -5430,6 +5495,7 @@ Public .false. .false. + () ), _lfortran_sacos: (Function @@ -5490,6 +5556,7 @@ Public .false. .false. + () ), _lfortran_sacosh: (Function @@ -5550,6 +5617,7 @@ Public .false. .false. + () ), _lfortran_sasin: (Function @@ -5610,6 +5678,7 @@ Public .false. .false. + () ), _lfortran_sasinh: (Function @@ -5670,6 +5739,7 @@ Public .false. .false. + () ), _lfortran_satan: (Function @@ -5730,6 +5800,7 @@ Public .false. .false. + () ), _lfortran_satanh: (Function @@ -5790,6 +5861,7 @@ Public .false. .false. + () ), _lfortran_scos: (Function @@ -5850,6 +5922,7 @@ Public .false. .false. + () ), _lfortran_scosh: (Function @@ -5910,6 +5983,7 @@ Public .false. .false. + () ), _lfortran_sexp: (Function @@ -5970,6 +6044,7 @@ Public .false. .false. + () ), _lfortran_slog: (Function @@ -6030,6 +6105,7 @@ Public .false. .false. + () ), _lfortran_slog10: (Function @@ -6090,6 +6166,7 @@ Public .false. .false. + () ), _lfortran_ssin: (Function @@ -6150,6 +6227,7 @@ Public .false. .false. + () ), _lfortran_ssinh: (Function @@ -6210,6 +6288,7 @@ Public .false. .false. + () ), _lfortran_stan: (Function @@ -6270,6 +6349,7 @@ Public .false. .false. + () ), _lfortran_stanh: (Function @@ -6330,6 +6410,7 @@ Public .false. .false. + () ), arccos: (GenericProcedure diff --git a/tests/reference/asr-array_02_decl-8860c8a.json b/tests/reference/asr-array_02_decl-8860c8a.json index 3f2c8e2bc1..3fb0bab0f6 100644 --- a/tests/reference/asr-array_02_decl-8860c8a.json +++ b/tests/reference/asr-array_02_decl-8860c8a.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-array_02_decl-8860c8a.stdout", - "stdout_hash": "1d855319ddbb6ace571078d6a353a6e1a57d0ce2a52897e834971611", + "stdout_hash": "c836b9c2ff4199c1e0f360b2587181ea9999ee1ff9bbf42750a7094e", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-array_02_decl-8860c8a.stdout b/tests/reference/asr-array_02_decl-8860c8a.stdout index 681ffc8742..5d5c01f2d1 100644 --- a/tests/reference/asr-array_02_decl-8860c8a.stdout +++ b/tests/reference/asr-array_02_decl-8860c8a.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), accept_multidim_f32_array: (Function @@ -117,6 +118,7 @@ Public .false. .false. + () ), accept_multidim_f64_array: (Function @@ -199,6 +201,7 @@ Public .false. .false. + () ), accept_multidim_i32_array: (Function @@ -281,6 +284,7 @@ Public .false. .false. + () ), accept_multidim_i64_array: (Function @@ -370,6 +374,7 @@ Public .false. .false. + () ), declare_arrays: (Function @@ -568,6 +573,7 @@ Public .false. .false. + () ) }) _global_symbols @@ -678,6 +684,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arccosh: (Function @@ -750,6 +757,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsin: (Function @@ -822,6 +830,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsinh: (Function @@ -894,6 +903,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctan: (Function @@ -966,6 +976,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctanh: (Function @@ -1038,6 +1049,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__ceil: (Function @@ -1190,6 +1202,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cos: (Function @@ -1262,6 +1275,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cosh: (Function @@ -1334,6 +1348,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__degrees: (Function @@ -1414,6 +1429,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__exp: (Function @@ -1486,6 +1502,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__floor: (Function @@ -1638,6 +1655,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log: (Function @@ -1710,6 +1728,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log10: (Function @@ -1782,6 +1801,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log2: (Function @@ -1870,6 +1890,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__mod: (Function @@ -2006,6 +2027,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__radians: (Function @@ -2086,6 +2108,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sin: (Function @@ -2158,6 +2181,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sinh: (Function @@ -2230,6 +2254,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sqrt: (Function @@ -2326,6 +2351,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tan: (Function @@ -2398,6 +2424,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tanh: (Function @@ -2470,6 +2497,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccos: (Function @@ -2542,6 +2570,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccosh: (Function @@ -2614,6 +2643,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsin: (Function @@ -2686,6 +2716,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsinh: (Function @@ -2758,6 +2789,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctan: (Function @@ -2830,6 +2862,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctanh: (Function @@ -2902,6 +2935,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__ceil: (Function @@ -3047,6 +3081,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cos: (Function @@ -3119,6 +3154,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cosh: (Function @@ -3191,6 +3227,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__degrees: (Function @@ -3276,6 +3313,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__exp: (Function @@ -3348,6 +3386,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__floor: (Function @@ -3493,6 +3532,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log: (Function @@ -3565,6 +3605,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log10: (Function @@ -3637,6 +3678,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log2: (Function @@ -3733,6 +3775,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__mod: (Function @@ -3859,6 +3902,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__radians: (Function @@ -3944,6 +3988,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sin: (Function @@ -4016,6 +4061,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sinh: (Function @@ -4088,6 +4134,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sqrt: (Function @@ -4192,6 +4239,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tan: (Function @@ -4264,6 +4312,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tanh: (Function @@ -4336,6 +4385,7 @@ Public .false. .false. + () ), _lfortran_dacos: (Function @@ -4396,6 +4446,7 @@ Public .false. .false. + () ), _lfortran_dacosh: (Function @@ -4456,6 +4507,7 @@ Public .false. .false. + () ), _lfortran_dasin: (Function @@ -4516,6 +4568,7 @@ Public .false. .false. + () ), _lfortran_dasinh: (Function @@ -4576,6 +4629,7 @@ Public .false. .false. + () ), _lfortran_datan: (Function @@ -4636,6 +4690,7 @@ Public .false. .false. + () ), _lfortran_datanh: (Function @@ -4696,6 +4751,7 @@ Public .false. .false. + () ), _lfortran_dcos: (Function @@ -4756,6 +4812,7 @@ Public .false. .false. + () ), _lfortran_dcosh: (Function @@ -4816,6 +4873,7 @@ Public .false. .false. + () ), _lfortran_dexp: (Function @@ -4876,6 +4934,7 @@ Public .false. .false. + () ), _lfortran_dlog: (Function @@ -4936,6 +4995,7 @@ Public .false. .false. + () ), _lfortran_dlog10: (Function @@ -4996,6 +5056,7 @@ Public .false. .false. + () ), _lfortran_dsin: (Function @@ -5056,6 +5117,7 @@ Public .false. .false. + () ), _lfortran_dsinh: (Function @@ -5116,6 +5178,7 @@ Public .false. .false. + () ), _lfortran_dtan: (Function @@ -5176,6 +5239,7 @@ Public .false. .false. + () ), _lfortran_dtanh: (Function @@ -5236,6 +5300,7 @@ Public .false. .false. + () ), _lfortran_sacos: (Function @@ -5296,6 +5361,7 @@ Public .false. .false. + () ), _lfortran_sacosh: (Function @@ -5356,6 +5422,7 @@ Public .false. .false. + () ), _lfortran_sasin: (Function @@ -5416,6 +5483,7 @@ Public .false. .false. + () ), _lfortran_sasinh: (Function @@ -5476,6 +5544,7 @@ Public .false. .false. + () ), _lfortran_satan: (Function @@ -5536,6 +5605,7 @@ Public .false. .false. + () ), _lfortran_satanh: (Function @@ -5596,6 +5666,7 @@ Public .false. .false. + () ), _lfortran_scos: (Function @@ -5656,6 +5727,7 @@ Public .false. .false. + () ), _lfortran_scosh: (Function @@ -5716,6 +5788,7 @@ Public .false. .false. + () ), _lfortran_sexp: (Function @@ -5776,6 +5849,7 @@ Public .false. .false. + () ), _lfortran_slog: (Function @@ -5836,6 +5910,7 @@ Public .false. .false. + () ), _lfortran_slog10: (Function @@ -5896,6 +5971,7 @@ Public .false. .false. + () ), _lfortran_ssin: (Function @@ -5956,6 +6032,7 @@ Public .false. .false. + () ), _lfortran_ssinh: (Function @@ -6016,6 +6093,7 @@ Public .false. .false. + () ), _lfortran_stan: (Function @@ -6076,6 +6154,7 @@ Public .false. .false. + () ), _lfortran_stanh: (Function @@ -6136,6 +6215,7 @@ Public .false. .false. + () ), arccos: (GenericProcedure diff --git a/tests/reference/asr-assert1-a8db80c.json b/tests/reference/asr-assert1-a8db80c.json index 2d50e9e64d..d5407e7069 100644 --- a/tests/reference/asr-assert1-a8db80c.json +++ b/tests/reference/asr-assert1-a8db80c.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-assert1-a8db80c.stdout", - "stdout_hash": "1a3413c7e2357594d5ada818ae065fc50fbdaead940010001fb7bf8d", + "stdout_hash": "e35a9f3ceef4590de10016f5f591bbd2ccd4c6d84630135deb1dbbca", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-assert1-a8db80c.stdout b/tests/reference/asr-assert1-a8db80c.stdout index 56651e88a7..7d7d7dfa48 100644 --- a/tests/reference/asr-assert1-a8db80c.stdout +++ b/tests/reference/asr-assert1-a8db80c.stdout @@ -78,6 +78,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-assign1-ec7ab8d.json b/tests/reference/asr-assign1-ec7ab8d.json index 3c0292c6d9..092a5c6b89 100644 --- a/tests/reference/asr-assign1-ec7ab8d.json +++ b/tests/reference/asr-assign1-ec7ab8d.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-assign1-ec7ab8d.stdout", - "stdout_hash": "8e9ca54edd6ace12792c11e099b27ca8c06e01031ace1d6cd0c9836c", + "stdout_hash": "c285dd3b104db49f2646c0ee37957bec93b6989e429dbf5a30a13553", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-assign1-ec7ab8d.stdout b/tests/reference/asr-assign1-ec7ab8d.stdout index 8d69009a66..c9547b2808 100644 --- a/tests/reference/asr-assign1-ec7ab8d.stdout +++ b/tests/reference/asr-assign1-ec7ab8d.stdout @@ -170,6 +170,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-bindc_01-edd8cc4.json b/tests/reference/asr-bindc_01-edd8cc4.json index 8a47675da2..c69c0e1b29 100644 --- a/tests/reference/asr-bindc_01-edd8cc4.json +++ b/tests/reference/asr-bindc_01-edd8cc4.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-bindc_01-edd8cc4.stdout", - "stdout_hash": "3a359df0424702ee2efab2b7fecd2e897cbc97f29575e228506e867f", + "stdout_hash": "c1c5afabc9ecb18c731ad21825ee23c181c1965e4acf5fd2776b2008", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-bindc_01-edd8cc4.stdout b/tests/reference/asr-bindc_01-edd8cc4.stdout index fc271d39dc..40d65cc820 100644 --- a/tests/reference/asr-bindc_01-edd8cc4.stdout +++ b/tests/reference/asr-bindc_01-edd8cc4.stdout @@ -48,6 +48,7 @@ Public .false. .false. + () ), queries: (Variable diff --git a/tests/reference/asr-bindc_02-8c7fec3.json b/tests/reference/asr-bindc_02-8c7fec3.json index 47469a6fb3..01ec727b49 100644 --- a/tests/reference/asr-bindc_02-8c7fec3.json +++ b/tests/reference/asr-bindc_02-8c7fec3.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-bindc_02-8c7fec3.stdout", - "stdout_hash": "d4a7d5cb81c7ec801ff7fcf21337cfc2437f1f3e75870803881e6547", + "stdout_hash": "a48a2ddd1469559be941968442243d048382d13bccf878ab3dd788d7", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-bindc_02-8c7fec3.stdout b/tests/reference/asr-bindc_02-8c7fec3.stdout index 8cf3102ed0..72cac928cc 100644 --- a/tests/reference/asr-bindc_02-8c7fec3.stdout +++ b/tests/reference/asr-bindc_02-8c7fec3.stdout @@ -54,6 +54,7 @@ Public .false. .false. + () ), f: (Function @@ -275,6 +276,7 @@ Public .false. .false. + () ), queries: (Variable @@ -418,6 +420,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arccosh: (Function @@ -490,6 +493,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsin: (Function @@ -562,6 +566,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsinh: (Function @@ -634,6 +639,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctan: (Function @@ -706,6 +712,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctanh: (Function @@ -778,6 +785,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__ceil: (Function @@ -930,6 +938,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cos: (Function @@ -1002,6 +1011,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cosh: (Function @@ -1074,6 +1084,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__degrees: (Function @@ -1154,6 +1165,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__exp: (Function @@ -1226,6 +1238,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__floor: (Function @@ -1378,6 +1391,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log: (Function @@ -1450,6 +1464,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log10: (Function @@ -1522,6 +1537,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log2: (Function @@ -1610,6 +1626,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__mod: (Function @@ -1746,6 +1763,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__radians: (Function @@ -1826,6 +1844,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sin: (Function @@ -1898,6 +1917,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sinh: (Function @@ -1970,6 +1990,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sqrt: (Function @@ -2066,6 +2087,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tan: (Function @@ -2138,6 +2160,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tanh: (Function @@ -2210,6 +2233,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccos: (Function @@ -2282,6 +2306,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccosh: (Function @@ -2354,6 +2379,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsin: (Function @@ -2426,6 +2452,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsinh: (Function @@ -2498,6 +2525,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctan: (Function @@ -2570,6 +2598,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctanh: (Function @@ -2642,6 +2671,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__ceil: (Function @@ -2787,6 +2817,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cos: (Function @@ -2859,6 +2890,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cosh: (Function @@ -2931,6 +2963,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__degrees: (Function @@ -3016,6 +3049,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__exp: (Function @@ -3088,6 +3122,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__floor: (Function @@ -3233,6 +3268,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log: (Function @@ -3305,6 +3341,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log10: (Function @@ -3377,6 +3414,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log2: (Function @@ -3473,6 +3511,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__mod: (Function @@ -3599,6 +3638,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__radians: (Function @@ -3684,6 +3724,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sin: (Function @@ -3756,6 +3797,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sinh: (Function @@ -3828,6 +3870,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sqrt: (Function @@ -3932,6 +3975,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tan: (Function @@ -4004,6 +4048,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tanh: (Function @@ -4076,6 +4121,7 @@ Public .false. .false. + () ), _lfortran_dacos: (Function @@ -4136,6 +4182,7 @@ Public .false. .false. + () ), _lfortran_dacosh: (Function @@ -4196,6 +4243,7 @@ Public .false. .false. + () ), _lfortran_dasin: (Function @@ -4256,6 +4304,7 @@ Public .false. .false. + () ), _lfortran_dasinh: (Function @@ -4316,6 +4365,7 @@ Public .false. .false. + () ), _lfortran_datan: (Function @@ -4376,6 +4426,7 @@ Public .false. .false. + () ), _lfortran_datanh: (Function @@ -4436,6 +4487,7 @@ Public .false. .false. + () ), _lfortran_dcos: (Function @@ -4496,6 +4548,7 @@ Public .false. .false. + () ), _lfortran_dcosh: (Function @@ -4556,6 +4609,7 @@ Public .false. .false. + () ), _lfortran_dexp: (Function @@ -4616,6 +4670,7 @@ Public .false. .false. + () ), _lfortran_dlog: (Function @@ -4676,6 +4731,7 @@ Public .false. .false. + () ), _lfortran_dlog10: (Function @@ -4736,6 +4792,7 @@ Public .false. .false. + () ), _lfortran_dsin: (Function @@ -4796,6 +4853,7 @@ Public .false. .false. + () ), _lfortran_dsinh: (Function @@ -4856,6 +4914,7 @@ Public .false. .false. + () ), _lfortran_dtan: (Function @@ -4916,6 +4975,7 @@ Public .false. .false. + () ), _lfortran_dtanh: (Function @@ -4976,6 +5036,7 @@ Public .false. .false. + () ), _lfortran_sacos: (Function @@ -5036,6 +5097,7 @@ Public .false. .false. + () ), _lfortran_sacosh: (Function @@ -5096,6 +5158,7 @@ Public .false. .false. + () ), _lfortran_sasin: (Function @@ -5156,6 +5219,7 @@ Public .false. .false. + () ), _lfortran_sasinh: (Function @@ -5216,6 +5280,7 @@ Public .false. .false. + () ), _lfortran_satan: (Function @@ -5276,6 +5341,7 @@ Public .false. .false. + () ), _lfortran_satanh: (Function @@ -5336,6 +5402,7 @@ Public .false. .false. + () ), _lfortran_scos: (Function @@ -5396,6 +5463,7 @@ Public .false. .false. + () ), _lfortran_scosh: (Function @@ -5456,6 +5524,7 @@ Public .false. .false. + () ), _lfortran_sexp: (Function @@ -5516,6 +5585,7 @@ Public .false. .false. + () ), _lfortran_slog: (Function @@ -5576,6 +5646,7 @@ Public .false. .false. + () ), _lfortran_slog10: (Function @@ -5636,6 +5707,7 @@ Public .false. .false. + () ), _lfortran_ssin: (Function @@ -5696,6 +5768,7 @@ Public .false. .false. + () ), _lfortran_ssinh: (Function @@ -5756,6 +5829,7 @@ Public .false. .false. + () ), _lfortran_stan: (Function @@ -5816,6 +5890,7 @@ Public .false. .false. + () ), _lfortran_stanh: (Function @@ -5876,6 +5951,7 @@ Public .false. .false. + () ), arccos: (GenericProcedure diff --git a/tests/reference/asr-c_interop1-c0a6335.json b/tests/reference/asr-c_interop1-c0a6335.json index 25cd83a79c..3b8105db01 100644 --- a/tests/reference/asr-c_interop1-c0a6335.json +++ b/tests/reference/asr-c_interop1-c0a6335.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-c_interop1-c0a6335.stdout", - "stdout_hash": "f675a932d996a2f3ecc4237f8d5ddf4c3c4c86a17bd80ad91938f188", + "stdout_hash": "fc1f7877e7d0c39d1ab72effdfe1927a71b1369e0cc8e0fc4c7ec3aa", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-c_interop1-c0a6335.stdout b/tests/reference/asr-c_interop1-c0a6335.stdout index d287545138..e87aa60169 100644 --- a/tests/reference/asr-c_interop1-c0a6335.stdout +++ b/tests/reference/asr-c_interop1-c0a6335.stdout @@ -66,6 +66,7 @@ Public .false. .false. + () ), g: (Function @@ -162,6 +163,7 @@ Public .false. .false. + () ), h: (Function @@ -236,6 +238,7 @@ Public .false. .false. + () ), l: (Function @@ -340,6 +343,7 @@ Public .false. .false. + () ), main0: (Function @@ -528,6 +532,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-callback_01-64f7a94.json b/tests/reference/asr-callback_01-64f7a94.json index e525ad7ce9..1667db0c06 100644 --- a/tests/reference/asr-callback_01-64f7a94.json +++ b/tests/reference/asr-callback_01-64f7a94.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-callback_01-64f7a94.stdout", - "stdout_hash": "0b2b8730f07fc9aad59a2c4f1dc9060bcd022d05fb5bf2f34e5f8b4b", + "stdout_hash": "fa7fd9ccb4bd6051dc7338ed3b96290d3a23011b216a7877b0dd003c", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-callback_01-64f7a94.stdout b/tests/reference/asr-callback_01-64f7a94.stdout index d6895b47ce..c48381c549 100644 --- a/tests/reference/asr-callback_01-64f7a94.stdout +++ b/tests/reference/asr-callback_01-64f7a94.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), check: (Function @@ -126,6 +127,7 @@ Public .false. .false. + () ), f: (Function @@ -197,6 +199,7 @@ Public .false. .false. + () ), f2: (Function @@ -268,6 +271,7 @@ Public .false. .false. + () ), f3: (Function @@ -354,6 +358,7 @@ Public .false. .false. + () ), g: (Function @@ -449,6 +454,7 @@ Public .false. .false. + () ), ret: (Variable @@ -522,6 +528,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-cast-d93d15f.json b/tests/reference/asr-cast-d93d15f.json index cead68f762..d0cfe5744f 100644 --- a/tests/reference/asr-cast-d93d15f.json +++ b/tests/reference/asr-cast-d93d15f.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-cast-d93d15f.stdout", - "stdout_hash": "20aead8bd8a9a91efff54792347c8013f558c484a058a0fbe612f110", + "stdout_hash": "4c5a0450e53005d1f60449cf4199eccae0e006c86a5e7bf269633b0b", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-cast-d93d15f.stdout b/tests/reference/asr-cast-d93d15f.stdout index a662f10523..bd03f46a8c 100644 --- a/tests/reference/asr-cast-d93d15f.stdout +++ b/tests/reference/asr-cast-d93d15f.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), f: (Function @@ -236,6 +237,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-complex1-7ce1c89.json b/tests/reference/asr-complex1-7ce1c89.json index a28be8a339..d4302219c6 100644 --- a/tests/reference/asr-complex1-7ce1c89.json +++ b/tests/reference/asr-complex1-7ce1c89.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-complex1-7ce1c89.stdout", - "stdout_hash": "364a44079cc7a1747cd008f67818f863bfc85227eead7bbf4a7b4938", + "stdout_hash": "0ffcbf230f41019c959fae5eec527462afe761b45e2bafe219b44066", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-complex1-7ce1c89.stdout b/tests/reference/asr-complex1-7ce1c89.stdout index 6032b3797e..f3c22755ae 100644 --- a/tests/reference/asr-complex1-7ce1c89.stdout +++ b/tests/reference/asr-complex1-7ce1c89.stdout @@ -193,6 +193,7 @@ Public .false. .false. + () ), test_complex: (Function @@ -761,6 +762,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-constants1-20d32ff.json b/tests/reference/asr-constants1-20d32ff.json index 5a8d588e6d..7f10dbaad6 100644 --- a/tests/reference/asr-constants1-20d32ff.json +++ b/tests/reference/asr-constants1-20d32ff.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-constants1-20d32ff.stdout", - "stdout_hash": "dd1fadc73908ab64875222a364851c214d74369a94d758cbbe0927ed", + "stdout_hash": "2f8730e5a2cc7985c49098522dfc4377ec957657c83f2b64809e34d9", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-constants1-20d32ff.stdout b/tests/reference/asr-constants1-20d32ff.stdout index 1df0b987e9..18ad6674ef 100644 --- a/tests/reference/asr-constants1-20d32ff.stdout +++ b/tests/reference/asr-constants1-20d32ff.stdout @@ -246,6 +246,7 @@ Public .false. .false. + () ), test_bool: (Function @@ -439,6 +440,7 @@ Public .false. .false. + () ), test_boz: (Function @@ -662,6 +664,7 @@ Public .false. .false. + () ), test_callable: (Function @@ -789,6 +792,7 @@ Public .false. .false. + () ), test_divmod: (Function @@ -965,6 +969,7 @@ Public .false. .false. + () ), test_float: (Function @@ -1087,6 +1092,7 @@ Public .false. .false. + () ), test_int: (Function @@ -1210,6 +1216,7 @@ Public .false. .false. + () ), test_len: (Function @@ -1533,6 +1540,7 @@ Public .false. .false. + () ), test_ord_chr: (Function @@ -1616,6 +1624,7 @@ Public .false. .false. + () ), test_str: (Function @@ -1754,6 +1763,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-dictionary1-789a50b.json b/tests/reference/asr-dictionary1-789a50b.json index e2807a9d38..91b090383b 100644 --- a/tests/reference/asr-dictionary1-789a50b.json +++ b/tests/reference/asr-dictionary1-789a50b.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-dictionary1-789a50b.stdout", - "stdout_hash": "268d0bd6f2563f3bd16550d5c02f6a10487a1b757e9aa5ebe2e01c45", + "stdout_hash": "f2c0ff3f39155d49867fa2d0805245359d7fb94c136bdc8c97c5e02e", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-dictionary1-789a50b.stdout b/tests/reference/asr-dictionary1-789a50b.stdout index 56065dea1f..e75c8504d6 100644 --- a/tests/reference/asr-dictionary1-789a50b.stdout +++ b/tests/reference/asr-dictionary1-789a50b.stdout @@ -61,6 +61,7 @@ Public .false. .false. + () ), test_Dict: (Function @@ -222,6 +223,7 @@ Public .false. .false. + () ), test_dict_get: (Function @@ -340,6 +342,7 @@ Public .false. .false. + () ), test_dict_insert: (Function @@ -427,6 +430,7 @@ Public .false. .false. + () ), test_dict_pop: (Function @@ -522,6 +526,7 @@ Public .false. .false. + () ), test_issue_204: (Function @@ -575,6 +580,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-doconcurrentloop_01-7b9a7d3.json b/tests/reference/asr-doconcurrentloop_01-7b9a7d3.json index 37451e1808..264a2b31c2 100644 --- a/tests/reference/asr-doconcurrentloop_01-7b9a7d3.json +++ b/tests/reference/asr-doconcurrentloop_01-7b9a7d3.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-doconcurrentloop_01-7b9a7d3.stdout", - "stdout_hash": "57833c432287c1d32e43846cabd3f8e47244021a9c36964423266add", + "stdout_hash": "dffb1f7233f48b1711345ac6d1649bfdc6d8244f5596e9a2a9144904", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-doconcurrentloop_01-7b9a7d3.stdout b/tests/reference/asr-doconcurrentloop_01-7b9a7d3.stdout index 26a9a9a239..a9da9d9d91 100644 --- a/tests/reference/asr-doconcurrentloop_01-7b9a7d3.stdout +++ b/tests/reference/asr-doconcurrentloop_01-7b9a7d3.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), main0: (Function @@ -263,6 +264,7 @@ Public .false. .false. + () ), triad: (Function @@ -452,6 +454,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-elemental_01-b6a1371.json b/tests/reference/asr-elemental_01-b6a1371.json index 372eff95ff..0af7360066 100644 --- a/tests/reference/asr-elemental_01-b6a1371.json +++ b/tests/reference/asr-elemental_01-b6a1371.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-elemental_01-b6a1371.stdout", - "stdout_hash": "1effa4d51f5a91b18c62773c7d96a074ef7f7c620df42c69201921e4", + "stdout_hash": "45273c1af8a8a7d43bd8cfb8f54864eb88ad0a757e096f6cc07a8fc5", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-elemental_01-b6a1371.stdout b/tests/reference/asr-elemental_01-b6a1371.stdout index 3bbe7e09fc..e1a8256030 100644 --- a/tests/reference/asr-elemental_01-b6a1371.stdout +++ b/tests/reference/asr-elemental_01-b6a1371.stdout @@ -70,6 +70,7 @@ Public .false. .false. + () ), cos: (ExternalSymbol @@ -275,6 +276,7 @@ Public .false. .false. + () ), elemental_mul: (Function @@ -516,6 +518,7 @@ Public .false. .false. + () ), elemental_sin: (Function @@ -861,6 +864,7 @@ Public .false. .false. + () ), elemental_sum: (Function @@ -1102,6 +1106,7 @@ Public .false. .false. + () ), elemental_trig_identity: (Function @@ -1582,6 +1587,7 @@ Public .false. .false. + () ), sin: (ExternalSymbol @@ -1807,6 +1813,7 @@ Public .false. .false. + () ), verify1d_mul: (Function @@ -2038,6 +2045,7 @@ Public .false. .false. + () ), verify1d_sum: (Function @@ -2269,6 +2277,7 @@ Public .false. .false. + () ), verify2d: (Function @@ -2549,6 +2558,7 @@ Public .false. .false. + () ), verifynd: (Function @@ -2900,6 +2910,7 @@ Public .false. .false. + () ) }) _global_symbols @@ -3010,6 +3021,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arccosh: (Function @@ -3082,6 +3094,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsin: (Function @@ -3154,6 +3167,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsinh: (Function @@ -3226,6 +3240,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctan: (Function @@ -3298,6 +3313,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctanh: (Function @@ -3370,6 +3386,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__ceil: (Function @@ -3522,6 +3539,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cos: (Function @@ -3594,6 +3612,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cosh: (Function @@ -3666,6 +3685,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__degrees: (Function @@ -3746,6 +3766,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__exp: (Function @@ -3818,6 +3839,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__floor: (Function @@ -3970,6 +3992,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log: (Function @@ -4042,6 +4065,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log10: (Function @@ -4114,6 +4138,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log2: (Function @@ -4202,6 +4227,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__mod: (Function @@ -4338,6 +4364,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__radians: (Function @@ -4418,6 +4445,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sin: (Function @@ -4490,6 +4518,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sinh: (Function @@ -4562,6 +4591,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sqrt: (Function @@ -4658,6 +4688,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tan: (Function @@ -4730,6 +4761,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tanh: (Function @@ -4802,6 +4834,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccos: (Function @@ -4874,6 +4907,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccosh: (Function @@ -4946,6 +4980,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsin: (Function @@ -5018,6 +5053,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsinh: (Function @@ -5090,6 +5126,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctan: (Function @@ -5162,6 +5199,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctanh: (Function @@ -5234,6 +5272,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__ceil: (Function @@ -5379,6 +5418,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cos: (Function @@ -5451,6 +5491,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cosh: (Function @@ -5523,6 +5564,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__degrees: (Function @@ -5608,6 +5650,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__exp: (Function @@ -5680,6 +5723,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__floor: (Function @@ -5825,6 +5869,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log: (Function @@ -5897,6 +5942,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log10: (Function @@ -5969,6 +6015,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log2: (Function @@ -6065,6 +6112,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__mod: (Function @@ -6191,6 +6239,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__radians: (Function @@ -6276,6 +6325,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sin: (Function @@ -6348,6 +6398,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sinh: (Function @@ -6420,6 +6471,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sqrt: (Function @@ -6524,6 +6576,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tan: (Function @@ -6596,6 +6649,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tanh: (Function @@ -6668,6 +6722,7 @@ Public .false. .false. + () ), _lfortran_dacos: (Function @@ -6728,6 +6783,7 @@ Public .false. .false. + () ), _lfortran_dacosh: (Function @@ -6788,6 +6844,7 @@ Public .false. .false. + () ), _lfortran_dasin: (Function @@ -6848,6 +6905,7 @@ Public .false. .false. + () ), _lfortran_dasinh: (Function @@ -6908,6 +6966,7 @@ Public .false. .false. + () ), _lfortran_datan: (Function @@ -6968,6 +7027,7 @@ Public .false. .false. + () ), _lfortran_datanh: (Function @@ -7028,6 +7088,7 @@ Public .false. .false. + () ), _lfortran_dcos: (Function @@ -7088,6 +7149,7 @@ Public .false. .false. + () ), _lfortran_dcosh: (Function @@ -7148,6 +7210,7 @@ Public .false. .false. + () ), _lfortran_dexp: (Function @@ -7208,6 +7271,7 @@ Public .false. .false. + () ), _lfortran_dlog: (Function @@ -7268,6 +7332,7 @@ Public .false. .false. + () ), _lfortran_dlog10: (Function @@ -7328,6 +7393,7 @@ Public .false. .false. + () ), _lfortran_dsin: (Function @@ -7388,6 +7454,7 @@ Public .false. .false. + () ), _lfortran_dsinh: (Function @@ -7448,6 +7515,7 @@ Public .false. .false. + () ), _lfortran_dtan: (Function @@ -7508,6 +7576,7 @@ Public .false. .false. + () ), _lfortran_dtanh: (Function @@ -7568,6 +7637,7 @@ Public .false. .false. + () ), _lfortran_sacos: (Function @@ -7628,6 +7698,7 @@ Public .false. .false. + () ), _lfortran_sacosh: (Function @@ -7688,6 +7759,7 @@ Public .false. .false. + () ), _lfortran_sasin: (Function @@ -7748,6 +7820,7 @@ Public .false. .false. + () ), _lfortran_sasinh: (Function @@ -7808,6 +7881,7 @@ Public .false. .false. + () ), _lfortran_satan: (Function @@ -7868,6 +7942,7 @@ Public .false. .false. + () ), _lfortran_satanh: (Function @@ -7928,6 +8003,7 @@ Public .false. .false. + () ), _lfortran_scos: (Function @@ -7988,6 +8064,7 @@ Public .false. .false. + () ), _lfortran_scosh: (Function @@ -8048,6 +8125,7 @@ Public .false. .false. + () ), _lfortran_sexp: (Function @@ -8108,6 +8186,7 @@ Public .false. .false. + () ), _lfortran_slog: (Function @@ -8168,6 +8247,7 @@ Public .false. .false. + () ), _lfortran_slog10: (Function @@ -8228,6 +8308,7 @@ Public .false. .false. + () ), _lfortran_ssin: (Function @@ -8288,6 +8369,7 @@ Public .false. .false. + () ), _lfortran_ssinh: (Function @@ -8348,6 +8430,7 @@ Public .false. .false. + () ), _lfortran_stan: (Function @@ -8408,6 +8491,7 @@ Public .false. .false. + () ), _lfortran_stanh: (Function @@ -8468,6 +8552,7 @@ Public .false. .false. + () ), arccos: (GenericProcedure diff --git a/tests/reference/asr-expr1-dde511e.json b/tests/reference/asr-expr1-dde511e.json index 6a41683e9b..6dc9cb8a72 100644 --- a/tests/reference/asr-expr1-dde511e.json +++ b/tests/reference/asr-expr1-dde511e.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr1-dde511e.stdout", - "stdout_hash": "429c12d784d25c4cc2087aab2911f365eb097bada6132cb82328c762", + "stdout_hash": "a0d48d08b6fbd7e69effa643c64395bfd4a38549a51a1782b3285f42", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr1-dde511e.stdout b/tests/reference/asr-expr1-dde511e.stdout index fa1eed85d6..62fec78653 100644 --- a/tests/reference/asr-expr1-dde511e.stdout +++ b/tests/reference/asr-expr1-dde511e.stdout @@ -122,6 +122,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr10-31c163f.json b/tests/reference/asr-expr10-31c163f.json index 87feeaf591..74c96d77b7 100644 --- a/tests/reference/asr-expr10-31c163f.json +++ b/tests/reference/asr-expr10-31c163f.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr10-31c163f.stdout", - "stdout_hash": "a193025600f0fd02656621a597f090341d44b174ffca6f021b87127f", + "stdout_hash": "fdfc1de03b90b0fe21d35498543fd9491e1b15ac9ba7c1362a235a4c", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr10-31c163f.stdout b/tests/reference/asr-expr10-31c163f.stdout index 2d67ff8b5a..3596142936 100644 --- a/tests/reference/asr-expr10-31c163f.stdout +++ b/tests/reference/asr-expr10-31c163f.stdout @@ -421,6 +421,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr11-1134d3f.json b/tests/reference/asr-expr11-1134d3f.json index 73fa09119b..0b5c8f2a14 100644 --- a/tests/reference/asr-expr11-1134d3f.json +++ b/tests/reference/asr-expr11-1134d3f.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr11-1134d3f.stdout", - "stdout_hash": "973808af34fba2092fc9e80550d67951ec29533e24c67d09881316c6", + "stdout_hash": "301c0b92329a759e65eb75d9427da08c502f50b1a6eabdb381383b07", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr11-1134d3f.stdout b/tests/reference/asr-expr11-1134d3f.stdout index ea61875f01..67c9a06d52 100644 --- a/tests/reference/asr-expr11-1134d3f.stdout +++ b/tests/reference/asr-expr11-1134d3f.stdout @@ -162,6 +162,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr12-2a30333.json b/tests/reference/asr-expr12-2a30333.json index c39c435e40..bed7bf550e 100644 --- a/tests/reference/asr-expr12-2a30333.json +++ b/tests/reference/asr-expr12-2a30333.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr12-2a30333.stdout", - "stdout_hash": "db5e28373e1a09bdfa06ca74b2dbe89bd6e87994ab228826545a3464", + "stdout_hash": "de81cca8185e5e22e96ae60be9b01e6c2640febef0cda8522fde2106", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr12-2a30333.stdout b/tests/reference/asr-expr12-2a30333.stdout index 4ccc25b8ca..52a3f80933 100644 --- a/tests/reference/asr-expr12-2a30333.stdout +++ b/tests/reference/asr-expr12-2a30333.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), check: (Function @@ -120,6 +121,7 @@ Public .false. .false. + () ), main0: (Function @@ -176,6 +178,7 @@ Public .false. .false. + () ), test: (Function @@ -264,6 +267,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr13-10040d8.json b/tests/reference/asr-expr13-10040d8.json index 3359559c6e..f44697ef80 100644 --- a/tests/reference/asr-expr13-10040d8.json +++ b/tests/reference/asr-expr13-10040d8.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr13-10040d8.stdout", - "stdout_hash": "5feb43fad6fd923058983a87bccd0595d9dd232c1af4273c0e5930a3", + "stdout_hash": "f65463baa7c69cad52da70da15f7d74b3f3e2005ffcd1f521775cf22", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr13-10040d8.stdout b/tests/reference/asr-expr13-10040d8.stdout index ecc8d38696..47ab23ee2c 100644 --- a/tests/reference/asr-expr13-10040d8.stdout +++ b/tests/reference/asr-expr13-10040d8.stdout @@ -447,6 +447,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr2-5311701.json b/tests/reference/asr-expr2-5311701.json index 3b3e7b456e..1615499303 100644 --- a/tests/reference/asr-expr2-5311701.json +++ b/tests/reference/asr-expr2-5311701.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr2-5311701.stdout", - "stdout_hash": "a00aff1f3effad5e875b2c6d774d5646717bf8d63fefa9ec2adb671c", + "stdout_hash": "4294e8e1f17dc4816bac630bffcf4951ef32bd0293e4b74e0d9d28ab", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr2-5311701.stdout b/tests/reference/asr-expr2-5311701.stdout index fb8e6b11f1..a28cbf83ad 100644 --- a/tests/reference/asr-expr2-5311701.stdout +++ b/tests/reference/asr-expr2-5311701.stdout @@ -162,6 +162,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr4-cf512ef.json b/tests/reference/asr-expr4-cf512ef.json index d5270468e5..d03a283198 100644 --- a/tests/reference/asr-expr4-cf512ef.json +++ b/tests/reference/asr-expr4-cf512ef.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr4-cf512ef.stdout", - "stdout_hash": "0b9af9d9e3e1bf1e3e90dc1576b0ea7c895bd72d369d6eefd64a0e98", + "stdout_hash": "b43a39648a33109f3fc19131dc073321e4f208b9611fea5974b4c6b5", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr4-cf512ef.stdout b/tests/reference/asr-expr4-cf512ef.stdout index f5ce7326f9..0da87d4e29 100644 --- a/tests/reference/asr-expr4-cf512ef.stdout +++ b/tests/reference/asr-expr4-cf512ef.stdout @@ -79,6 +79,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr5-375548a.json b/tests/reference/asr-expr5-375548a.json index e4bb23820d..6358fed73e 100644 --- a/tests/reference/asr-expr5-375548a.json +++ b/tests/reference/asr-expr5-375548a.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr5-375548a.stdout", - "stdout_hash": "3d2d2f721917587c7c5f4ccdc60eab393263a08242f3c9a58976e7bf", + "stdout_hash": "e20ee2b754f2c579bf2d79c0d296e107535d0796a9989f7e0ee915e7", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr5-375548a.stdout b/tests/reference/asr-expr5-375548a.stdout index 257139f35b..4a628aed7b 100644 --- a/tests/reference/asr-expr5-375548a.stdout +++ b/tests/reference/asr-expr5-375548a.stdout @@ -118,6 +118,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr6-bfb3384.json b/tests/reference/asr-expr6-bfb3384.json index 5a65183e40..85d7a37c9b 100644 --- a/tests/reference/asr-expr6-bfb3384.json +++ b/tests/reference/asr-expr6-bfb3384.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr6-bfb3384.stdout", - "stdout_hash": "0676941f9cb946aadf18f6e420f63b7aa37457904e2bb00dfa27af52", + "stdout_hash": "917442d20a0927a7d9270ec5ff6d1fdd053badd56f5d86a5be3adc0b", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr6-bfb3384.stdout b/tests/reference/asr-expr6-bfb3384.stdout index 6862c2dce6..6d3620d9b3 100644 --- a/tests/reference/asr-expr6-bfb3384.stdout +++ b/tests/reference/asr-expr6-bfb3384.stdout @@ -125,6 +125,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr7-2ef3822.json b/tests/reference/asr-expr7-2ef3822.json index 815cf3c252..f4d3d4599a 100644 --- a/tests/reference/asr-expr7-2ef3822.json +++ b/tests/reference/asr-expr7-2ef3822.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr7-2ef3822.stdout", - "stdout_hash": "42f08381abbb277b8ee79a840de22ee65e262f9a3b78b1f108c176a1", + "stdout_hash": "13b19816ffae71aa75643421306582a0eb74910b16f37cae4e49ca25", "stderr": "asr-expr7-2ef3822.stderr", "stderr_hash": "6e9790ac88db1a9ead8f64a91ba8a6605de67167037908a74b77be0c", "returncode": 0 diff --git a/tests/reference/asr-expr7-2ef3822.stdout b/tests/reference/asr-expr7-2ef3822.stdout index 7f2007805a..6d6c627945 100644 --- a/tests/reference/asr-expr7-2ef3822.stdout +++ b/tests/reference/asr-expr7-2ef3822.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), main0: (Function @@ -106,6 +107,7 @@ Public .false. .false. + () ), test_pow: (Function @@ -191,6 +193,7 @@ Public .false. .false. + () ), test_pow_1: (Function @@ -326,6 +329,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr8-2a4630a.json b/tests/reference/asr-expr8-2a4630a.json index 1c8be38ded..ccd3d6d55a 100644 --- a/tests/reference/asr-expr8-2a4630a.json +++ b/tests/reference/asr-expr8-2a4630a.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr8-2a4630a.stdout", - "stdout_hash": "27a6c370bff40c88fc4b3d5d24fb3275244d5678d858cc57d56831e1", + "stdout_hash": "eedbfdc249a88abcaa389500d41678160b48d82a8d9bf423202b5763", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr8-2a4630a.stdout b/tests/reference/asr-expr8-2a4630a.stdout index 3da534cfb5..8f22e1cf0f 100644 --- a/tests/reference/asr-expr8-2a4630a.stdout +++ b/tests/reference/asr-expr8-2a4630a.stdout @@ -424,6 +424,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr9-c6fe691.json b/tests/reference/asr-expr9-c6fe691.json index 4c2370e74b..776afb8250 100644 --- a/tests/reference/asr-expr9-c6fe691.json +++ b/tests/reference/asr-expr9-c6fe691.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr9-c6fe691.stdout", - "stdout_hash": "58bfa5cd8c2a8c649ba868cc6280d48aa6688a0f21da62dc5745a470", + "stdout_hash": "fd9a9323419a77d41f2b3b06c607be0aab4dc626a070dda593b2117c", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr9-c6fe691.stdout b/tests/reference/asr-expr9-c6fe691.stdout index 1f21960a62..2418acea28 100644 --- a/tests/reference/asr-expr9-c6fe691.stdout +++ b/tests/reference/asr-expr9-c6fe691.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), main0: (Function @@ -146,6 +147,7 @@ Public .false. .false. + () ), test_return_1: (Function @@ -231,6 +233,7 @@ Public .false. .false. + () ), test_return_2: (Function @@ -319,6 +322,7 @@ Public .false. .false. + () ), test_return_3: (Function @@ -389,6 +393,7 @@ Public .false. .false. + () ), test_return_4: (Function @@ -439,6 +444,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr_01-03055c0.json b/tests/reference/asr-expr_01-03055c0.json index 59500740c1..705ecc604b 100644 --- a/tests/reference/asr-expr_01-03055c0.json +++ b/tests/reference/asr-expr_01-03055c0.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr_01-03055c0.stdout", - "stdout_hash": "7257d1db4ffaa061155586722c91f7f96ec509278465de9738d9e8f1", + "stdout_hash": "5c595b0c9db243c8d24caf1c2fb929932427e43ec6afa45056524d72", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr_01-03055c0.stdout b/tests/reference/asr-expr_01-03055c0.stdout index 9d3f89251d..adfbd855a9 100644 --- a/tests/reference/asr-expr_01-03055c0.stdout +++ b/tests/reference/asr-expr_01-03055c0.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), main0: (Function @@ -154,6 +155,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr_01-eafd41c.json b/tests/reference/asr-expr_01-eafd41c.json index 7bf6ef9129..df31f2613d 100644 --- a/tests/reference/asr-expr_01-eafd41c.json +++ b/tests/reference/asr-expr_01-eafd41c.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr_01-eafd41c.stdout", - "stdout_hash": "383d6b684023f5e14568d8941657bae8fc72455c7fb33289d90f9bf7", + "stdout_hash": "30596f7818cb4a2c2cf2bc488139a63db3b634cca75bbf1a5512c0ac", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr_01-eafd41c.stdout b/tests/reference/asr-expr_01-eafd41c.stdout index cb282a2168..674f2ce9fb 100644 --- a/tests/reference/asr-expr_01-eafd41c.stdout +++ b/tests/reference/asr-expr_01-eafd41c.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), add: (Function @@ -130,6 +131,7 @@ Public .false. .false. + () ), and_op: (Function @@ -218,6 +220,7 @@ Public .false. .false. + () ), main0: (Function @@ -372,6 +375,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr_05-45e5844.json b/tests/reference/asr-expr_05-45e5844.json index 36600770fc..3fc4f399e5 100644 --- a/tests/reference/asr-expr_05-45e5844.json +++ b/tests/reference/asr-expr_05-45e5844.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr_05-45e5844.stdout", - "stdout_hash": "67dab35d255a2d408e6d84587382b7e89999a0647b6469398ac562fb", + "stdout_hash": "f6792b50ccce080b2a0c1b40b78266c810b00d2e0b8a16c704a95306", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr_05-45e5844.stdout b/tests/reference/asr-expr_05-45e5844.stdout index cd554fc9a1..1bded88500 100644 --- a/tests/reference/asr-expr_05-45e5844.stdout +++ b/tests/reference/asr-expr_05-45e5844.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), main0: (Function @@ -1219,6 +1220,7 @@ Public .false. .false. + () ), test_mod: (Function @@ -1329,6 +1331,7 @@ Public .false. .false. + () ), test_multiply: (Function @@ -1417,6 +1420,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr_07-ccf2455.json b/tests/reference/asr-expr_07-ccf2455.json index d0f406f923..9901d34d2e 100644 --- a/tests/reference/asr-expr_07-ccf2455.json +++ b/tests/reference/asr-expr_07-ccf2455.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr_07-ccf2455.stdout", - "stdout_hash": "df3b1419df3e35380ccff3a8844e63cc6fad3c9cf7862c7f89ac74ea", + "stdout_hash": "b65c99283b644e5e3e66c1166b189c7f670d8be8613d85691e170489", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr_07-ccf2455.stdout b/tests/reference/asr-expr_07-ccf2455.stdout index 995de4d71c..15c95447c6 100644 --- a/tests/reference/asr-expr_07-ccf2455.stdout +++ b/tests/reference/asr-expr_07-ccf2455.stdout @@ -49,6 +49,7 @@ Public .false. .false. + () ), bool_to_str: (Function @@ -189,6 +190,7 @@ Public .false. .false. + () ), f: (Function @@ -324,6 +326,7 @@ Public .false. .false. + () ), g: (Function @@ -374,6 +377,7 @@ Public .false. .false. + () ), x: (Variable diff --git a/tests/reference/asr-expr_09-0e8c1e6.json b/tests/reference/asr-expr_09-0e8c1e6.json index dc989896bc..9c2315e00a 100644 --- a/tests/reference/asr-expr_09-0e8c1e6.json +++ b/tests/reference/asr-expr_09-0e8c1e6.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr_09-0e8c1e6.stdout", - "stdout_hash": "906738c4f971bdd0785b4adfcf2162dbeef3b2da53c3337ef170ee39", + "stdout_hash": "8a021da0679b6e9cbbdf670fb65fce20913c41c3bba095a45cc6af15", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr_09-0e8c1e6.stdout b/tests/reference/asr-expr_09-0e8c1e6.stdout index caeb49e25a..b381d6a314 100644 --- a/tests/reference/asr-expr_09-0e8c1e6.stdout +++ b/tests/reference/asr-expr_09-0e8c1e6.stdout @@ -56,6 +56,7 @@ Public .false. .false. + () ), main0: (Function @@ -179,6 +180,7 @@ Public .false. .false. + () ), test_issue_928: (Function @@ -339,6 +341,7 @@ Public .false. .false. + () ), test_multiple_assign_1: (Function @@ -956,6 +959,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr_10-e2e0267.json b/tests/reference/asr-expr_10-e2e0267.json index bfc5d4bcf1..65765e54bc 100644 --- a/tests/reference/asr-expr_10-e2e0267.json +++ b/tests/reference/asr-expr_10-e2e0267.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr_10-e2e0267.stdout", - "stdout_hash": "32fde6cb6df005edbcd9423bf55d3cd6bc255c4cb1035cafebc90190", + "stdout_hash": "de7f42b81824ef053dbe91750115dbad646219afe0e8f85563265f27", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr_10-e2e0267.stdout b/tests/reference/asr-expr_10-e2e0267.stdout index 1eb12fe2c5..afd277d162 100644 --- a/tests/reference/asr-expr_10-e2e0267.stdout +++ b/tests/reference/asr-expr_10-e2e0267.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), g: (Function @@ -92,6 +93,7 @@ Public .false. .false. + () ), gsubrout: (Function @@ -142,6 +144,7 @@ Public .false. .false. + () ), test_fn1: (Function @@ -259,6 +262,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr_12-7aa0c4c.json b/tests/reference/asr-expr_12-7aa0c4c.json index 4839b6d229..15013ecb46 100644 --- a/tests/reference/asr-expr_12-7aa0c4c.json +++ b/tests/reference/asr-expr_12-7aa0c4c.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr_12-7aa0c4c.stdout", - "stdout_hash": "ba1cce6699ea28b42a5b2c4a246c1cfc9269473e37b82376e7cd105d", + "stdout_hash": "cc8dfe3e55bde50837df2d4f8cd1ae2805d2e001a8c821911a434198", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr_12-7aa0c4c.stdout b/tests/reference/asr-expr_12-7aa0c4c.stdout index 4ddcf60882..279090760c 100644 --- a/tests/reference/asr-expr_12-7aa0c4c.stdout +++ b/tests/reference/asr-expr_12-7aa0c4c.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), check: (Function @@ -138,6 +139,7 @@ Public .false. .false. + () ), f: (Function @@ -215,6 +217,7 @@ Public .false. .false. + () ), g: (Function @@ -355,6 +358,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-expr_14-6023c49.json b/tests/reference/asr-expr_14-6023c49.json index 0f407e5d89..00f6449093 100644 --- a/tests/reference/asr-expr_14-6023c49.json +++ b/tests/reference/asr-expr_14-6023c49.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-expr_14-6023c49.stdout", - "stdout_hash": "02ed12cee512160e6903385e0fbabafb43e591d39c87dbf437e09f7d", + "stdout_hash": "7c229a1f673f2309955f73002c5075151abdd4db9833fed4b727654f", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-expr_14-6023c49.stdout b/tests/reference/asr-expr_14-6023c49.stdout index 9dd88d85e9..c9cc3e2916 100644 --- a/tests/reference/asr-expr_14-6023c49.stdout +++ b/tests/reference/asr-expr_14-6023c49.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), test_divide: (Function @@ -874,6 +875,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-func_inline_01-56dbc9a.json b/tests/reference/asr-func_inline_01-56dbc9a.json index c73ffdf933..fb45844d84 100644 --- a/tests/reference/asr-func_inline_01-56dbc9a.json +++ b/tests/reference/asr-func_inline_01-56dbc9a.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-func_inline_01-56dbc9a.stdout", - "stdout_hash": "1e8f3c234853b9beb1e9713787a63458357c0a38937485a149266486", + "stdout_hash": "c2e008cb8df44ec87e28eb8035f87c263b4ed84e91ef005539fd82c7", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-func_inline_01-56dbc9a.stdout b/tests/reference/asr-func_inline_01-56dbc9a.stdout index 010d28dce7..e1cda6bb34 100644 --- a/tests/reference/asr-func_inline_01-56dbc9a.stdout +++ b/tests/reference/asr-func_inline_01-56dbc9a.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), fib: (Function @@ -170,6 +171,7 @@ Public .false. .false. + () ), main: (Function @@ -272,6 +274,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-generics_01-4ff9de7.json b/tests/reference/asr-generics_01-4ff9de7.json index cf9baa2611..60c38613f7 100644 --- a/tests/reference/asr-generics_01-4ff9de7.json +++ b/tests/reference/asr-generics_01-4ff9de7.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-generics_01-4ff9de7.stdout", - "stdout_hash": "68adbd0cc5ad7720662a125868cdb7d3c7232a5aac0e52e1bb3c4ffb", + "stdout_hash": "88497e65279c4be354853ab4bb888200182c6e3d950ff58f08fd5012", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-generics_01-4ff9de7.stdout b/tests/reference/asr-generics_01-4ff9de7.stdout index f317c866f2..b291b96263 100644 --- a/tests/reference/asr-generics_01-4ff9de7.stdout +++ b/tests/reference/asr-generics_01-4ff9de7.stdout @@ -114,6 +114,7 @@ Public .false. .false. + () ), __asr_generic_f_1: (Function @@ -204,6 +205,7 @@ Public .false. .false. + () ), _lpython_main_program: (Function @@ -289,6 +291,7 @@ Public .false. .false. + () ), add: (Function @@ -387,6 +390,7 @@ Public .false. .false. + () ), add_integer: (Function @@ -475,6 +479,7 @@ Public .false. .false. + () ), add_string: (Function @@ -562,6 +567,7 @@ Public .false. .false. + () ), f: (Function @@ -676,6 +682,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-generics_02-79b33a1.json b/tests/reference/asr-generics_02-79b33a1.json index 401e9ca94b..3b5c04b38f 100644 --- a/tests/reference/asr-generics_02-79b33a1.json +++ b/tests/reference/asr-generics_02-79b33a1.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-generics_02-79b33a1.stdout", - "stdout_hash": "3969b03f39582a86dfb1f4d811661e3e7606d9e07fe43415a91115a1", + "stdout_hash": "e1448166e4027e61053bec1c27e7887537ea0be09fbee1149526ad70", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-generics_02-79b33a1.stdout b/tests/reference/asr-generics_02-79b33a1.stdout index efb76f93f0..c00b5c404e 100644 --- a/tests/reference/asr-generics_02-79b33a1.stdout +++ b/tests/reference/asr-generics_02-79b33a1.stdout @@ -127,6 +127,7 @@ Public .false. .false. + () ), _lpython_main_program: (Function @@ -164,6 +165,7 @@ Public .false. .false. + () ), swap: (Function @@ -285,6 +287,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-generics_array_01-8e0b4d1.json b/tests/reference/asr-generics_array_01-8e0b4d1.json index ed3f893983..987bbd170e 100644 --- a/tests/reference/asr-generics_array_01-8e0b4d1.json +++ b/tests/reference/asr-generics_array_01-8e0b4d1.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-generics_array_01-8e0b4d1.stdout", - "stdout_hash": "a136a5e88c8906f15467870a45e69c45a990b3ce2b2ee97598aab921", + "stdout_hash": "c491d801e460cc6e2754f994e84c963baf465878f6ce24a6e12244f3", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-generics_array_01-8e0b4d1.stdout b/tests/reference/asr-generics_array_01-8e0b4d1.stdout index e82e0e3fe7..de04aec6f2 100644 --- a/tests/reference/asr-generics_array_01-8e0b4d1.stdout +++ b/tests/reference/asr-generics_array_01-8e0b4d1.stdout @@ -129,6 +129,7 @@ Public .false. .false. + () ), _lpython_main_program: (Function @@ -165,6 +166,7 @@ Public .false. .false. + () ), f: (Function @@ -297,6 +299,7 @@ Public .false. .false. + () ), use_array: (Function @@ -376,6 +379,7 @@ Public .false. .false. + () ) }) _global_symbols @@ -486,6 +490,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arccosh: (Function @@ -558,6 +563,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsin: (Function @@ -630,6 +636,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsinh: (Function @@ -702,6 +709,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctan: (Function @@ -774,6 +782,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctanh: (Function @@ -846,6 +855,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__ceil: (Function @@ -998,6 +1008,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cos: (Function @@ -1070,6 +1081,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cosh: (Function @@ -1142,6 +1154,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__degrees: (Function @@ -1222,6 +1235,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__exp: (Function @@ -1294,6 +1308,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__floor: (Function @@ -1446,6 +1461,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log: (Function @@ -1518,6 +1534,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log10: (Function @@ -1590,6 +1607,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log2: (Function @@ -1678,6 +1696,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__mod: (Function @@ -1814,6 +1833,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__radians: (Function @@ -1894,6 +1914,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sin: (Function @@ -1966,6 +1987,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sinh: (Function @@ -2038,6 +2060,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sqrt: (Function @@ -2134,6 +2157,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tan: (Function @@ -2206,6 +2230,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tanh: (Function @@ -2278,6 +2303,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccos: (Function @@ -2350,6 +2376,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccosh: (Function @@ -2422,6 +2449,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsin: (Function @@ -2494,6 +2522,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsinh: (Function @@ -2566,6 +2595,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctan: (Function @@ -2638,6 +2668,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctanh: (Function @@ -2710,6 +2741,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__ceil: (Function @@ -2855,6 +2887,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cos: (Function @@ -2927,6 +2960,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cosh: (Function @@ -2999,6 +3033,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__degrees: (Function @@ -3084,6 +3119,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__exp: (Function @@ -3156,6 +3192,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__floor: (Function @@ -3301,6 +3338,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log: (Function @@ -3373,6 +3411,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log10: (Function @@ -3445,6 +3484,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log2: (Function @@ -3541,6 +3581,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__mod: (Function @@ -3667,6 +3708,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__radians: (Function @@ -3752,6 +3794,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sin: (Function @@ -3824,6 +3867,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sinh: (Function @@ -3896,6 +3940,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sqrt: (Function @@ -4000,6 +4045,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tan: (Function @@ -4072,6 +4118,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tanh: (Function @@ -4144,6 +4191,7 @@ Public .false. .false. + () ), _lfortran_dacos: (Function @@ -4204,6 +4252,7 @@ Public .false. .false. + () ), _lfortran_dacosh: (Function @@ -4264,6 +4313,7 @@ Public .false. .false. + () ), _lfortran_dasin: (Function @@ -4324,6 +4374,7 @@ Public .false. .false. + () ), _lfortran_dasinh: (Function @@ -4384,6 +4435,7 @@ Public .false. .false. + () ), _lfortran_datan: (Function @@ -4444,6 +4496,7 @@ Public .false. .false. + () ), _lfortran_datanh: (Function @@ -4504,6 +4557,7 @@ Public .false. .false. + () ), _lfortran_dcos: (Function @@ -4564,6 +4618,7 @@ Public .false. .false. + () ), _lfortran_dcosh: (Function @@ -4624,6 +4679,7 @@ Public .false. .false. + () ), _lfortran_dexp: (Function @@ -4684,6 +4740,7 @@ Public .false. .false. + () ), _lfortran_dlog: (Function @@ -4744,6 +4801,7 @@ Public .false. .false. + () ), _lfortran_dlog10: (Function @@ -4804,6 +4862,7 @@ Public .false. .false. + () ), _lfortran_dsin: (Function @@ -4864,6 +4923,7 @@ Public .false. .false. + () ), _lfortran_dsinh: (Function @@ -4924,6 +4984,7 @@ Public .false. .false. + () ), _lfortran_dtan: (Function @@ -4984,6 +5045,7 @@ Public .false. .false. + () ), _lfortran_dtanh: (Function @@ -5044,6 +5106,7 @@ Public .false. .false. + () ), _lfortran_sacos: (Function @@ -5104,6 +5167,7 @@ Public .false. .false. + () ), _lfortran_sacosh: (Function @@ -5164,6 +5228,7 @@ Public .false. .false. + () ), _lfortran_sasin: (Function @@ -5224,6 +5289,7 @@ Public .false. .false. + () ), _lfortran_sasinh: (Function @@ -5284,6 +5350,7 @@ Public .false. .false. + () ), _lfortran_satan: (Function @@ -5344,6 +5411,7 @@ Public .false. .false. + () ), _lfortran_satanh: (Function @@ -5404,6 +5472,7 @@ Public .false. .false. + () ), _lfortran_scos: (Function @@ -5464,6 +5533,7 @@ Public .false. .false. + () ), _lfortran_scosh: (Function @@ -5524,6 +5594,7 @@ Public .false. .false. + () ), _lfortran_sexp: (Function @@ -5584,6 +5655,7 @@ Public .false. .false. + () ), _lfortran_slog: (Function @@ -5644,6 +5716,7 @@ Public .false. .false. + () ), _lfortran_slog10: (Function @@ -5704,6 +5777,7 @@ Public .false. .false. + () ), _lfortran_ssin: (Function @@ -5764,6 +5838,7 @@ Public .false. .false. + () ), _lfortran_ssinh: (Function @@ -5824,6 +5899,7 @@ Public .false. .false. + () ), _lfortran_stan: (Function @@ -5884,6 +5960,7 @@ Public .false. .false. + () ), _lfortran_stanh: (Function @@ -5944,6 +6021,7 @@ Public .false. .false. + () ), arccos: (GenericProcedure diff --git a/tests/reference/asr-generics_array_02-e149533.json b/tests/reference/asr-generics_array_02-e149533.json index 1f639dc4d9..ca2910653d 100644 --- a/tests/reference/asr-generics_array_02-e149533.json +++ b/tests/reference/asr-generics_array_02-e149533.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-generics_array_02-e149533.stdout", - "stdout_hash": "403d7cd29dab8830353d2c5a0d7edcc1518e27e0d30bfeb025d70c1d", + "stdout_hash": "d01aeb4173b91ff9be89bd429f60bdd56f0e9a665bdccb7030a40435", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-generics_array_02-e149533.stdout b/tests/reference/asr-generics_array_02-e149533.stdout index dceeb0f7be..e7831986d0 100644 --- a/tests/reference/asr-generics_array_02-e149533.stdout +++ b/tests/reference/asr-generics_array_02-e149533.stdout @@ -201,6 +201,7 @@ Public .false. .false. + () ), __asr_generic_g_1: (Function @@ -378,6 +379,7 @@ Public .false. .false. + () ), _lpython_main_program: (Function @@ -414,6 +416,7 @@ Public .false. .false. + () ), add: (Function @@ -512,6 +515,7 @@ Public .false. .false. + () ), add_float: (Function @@ -600,6 +604,7 @@ Public .false. .false. + () ), add_integer: (Function @@ -688,6 +693,7 @@ Public .false. .false. + () ), g: (Function @@ -898,6 +904,7 @@ Public .false. .false. + () ), main: (Function @@ -1082,6 +1089,7 @@ Public .false. .false. + () ), n: (Variable @@ -1207,6 +1215,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arccosh: (Function @@ -1279,6 +1288,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsin: (Function @@ -1351,6 +1361,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsinh: (Function @@ -1423,6 +1434,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctan: (Function @@ -1495,6 +1507,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctanh: (Function @@ -1567,6 +1580,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__ceil: (Function @@ -1719,6 +1733,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cos: (Function @@ -1791,6 +1806,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cosh: (Function @@ -1863,6 +1879,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__degrees: (Function @@ -1943,6 +1960,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__exp: (Function @@ -2015,6 +2033,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__floor: (Function @@ -2167,6 +2186,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log: (Function @@ -2239,6 +2259,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log10: (Function @@ -2311,6 +2332,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log2: (Function @@ -2399,6 +2421,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__mod: (Function @@ -2535,6 +2558,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__radians: (Function @@ -2615,6 +2639,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sin: (Function @@ -2687,6 +2712,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sinh: (Function @@ -2759,6 +2785,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sqrt: (Function @@ -2855,6 +2882,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tan: (Function @@ -2927,6 +2955,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tanh: (Function @@ -2999,6 +3028,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccos: (Function @@ -3071,6 +3101,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccosh: (Function @@ -3143,6 +3174,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsin: (Function @@ -3215,6 +3247,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsinh: (Function @@ -3287,6 +3320,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctan: (Function @@ -3359,6 +3393,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctanh: (Function @@ -3431,6 +3466,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__ceil: (Function @@ -3576,6 +3612,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cos: (Function @@ -3648,6 +3685,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cosh: (Function @@ -3720,6 +3758,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__degrees: (Function @@ -3805,6 +3844,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__exp: (Function @@ -3877,6 +3917,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__floor: (Function @@ -4022,6 +4063,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log: (Function @@ -4094,6 +4136,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log10: (Function @@ -4166,6 +4209,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log2: (Function @@ -4262,6 +4306,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__mod: (Function @@ -4388,6 +4433,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__radians: (Function @@ -4473,6 +4519,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sin: (Function @@ -4545,6 +4592,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sinh: (Function @@ -4617,6 +4665,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sqrt: (Function @@ -4721,6 +4770,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tan: (Function @@ -4793,6 +4843,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tanh: (Function @@ -4865,6 +4916,7 @@ Public .false. .false. + () ), _lfortran_dacos: (Function @@ -4925,6 +4977,7 @@ Public .false. .false. + () ), _lfortran_dacosh: (Function @@ -4985,6 +5038,7 @@ Public .false. .false. + () ), _lfortran_dasin: (Function @@ -5045,6 +5099,7 @@ Public .false. .false. + () ), _lfortran_dasinh: (Function @@ -5105,6 +5160,7 @@ Public .false. .false. + () ), _lfortran_datan: (Function @@ -5165,6 +5221,7 @@ Public .false. .false. + () ), _lfortran_datanh: (Function @@ -5225,6 +5282,7 @@ Public .false. .false. + () ), _lfortran_dcos: (Function @@ -5285,6 +5343,7 @@ Public .false. .false. + () ), _lfortran_dcosh: (Function @@ -5345,6 +5404,7 @@ Public .false. .false. + () ), _lfortran_dexp: (Function @@ -5405,6 +5465,7 @@ Public .false. .false. + () ), _lfortran_dlog: (Function @@ -5465,6 +5526,7 @@ Public .false. .false. + () ), _lfortran_dlog10: (Function @@ -5525,6 +5587,7 @@ Public .false. .false. + () ), _lfortran_dsin: (Function @@ -5585,6 +5648,7 @@ Public .false. .false. + () ), _lfortran_dsinh: (Function @@ -5645,6 +5709,7 @@ Public .false. .false. + () ), _lfortran_dtan: (Function @@ -5705,6 +5770,7 @@ Public .false. .false. + () ), _lfortran_dtanh: (Function @@ -5765,6 +5831,7 @@ Public .false. .false. + () ), _lfortran_sacos: (Function @@ -5825,6 +5892,7 @@ Public .false. .false. + () ), _lfortran_sacosh: (Function @@ -5885,6 +5953,7 @@ Public .false. .false. + () ), _lfortran_sasin: (Function @@ -5945,6 +6014,7 @@ Public .false. .false. + () ), _lfortran_sasinh: (Function @@ -6005,6 +6075,7 @@ Public .false. .false. + () ), _lfortran_satan: (Function @@ -6065,6 +6136,7 @@ Public .false. .false. + () ), _lfortran_satanh: (Function @@ -6125,6 +6197,7 @@ Public .false. .false. + () ), _lfortran_scos: (Function @@ -6185,6 +6258,7 @@ Public .false. .false. + () ), _lfortran_scosh: (Function @@ -6245,6 +6319,7 @@ Public .false. .false. + () ), _lfortran_sexp: (Function @@ -6305,6 +6380,7 @@ Public .false. .false. + () ), _lfortran_slog: (Function @@ -6365,6 +6441,7 @@ Public .false. .false. + () ), _lfortran_slog10: (Function @@ -6425,6 +6502,7 @@ Public .false. .false. + () ), _lfortran_ssin: (Function @@ -6485,6 +6563,7 @@ Public .false. .false. + () ), _lfortran_ssinh: (Function @@ -6545,6 +6624,7 @@ Public .false. .false. + () ), _lfortran_stan: (Function @@ -6605,6 +6685,7 @@ Public .false. .false. + () ), _lfortran_stanh: (Function @@ -6665,6 +6746,7 @@ Public .false. .false. + () ), arccos: (GenericProcedure diff --git a/tests/reference/asr-generics_array_03-a1b8457.json b/tests/reference/asr-generics_array_03-a1b8457.json index a438c48d68..beba6973fd 100644 --- a/tests/reference/asr-generics_array_03-a1b8457.json +++ b/tests/reference/asr-generics_array_03-a1b8457.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-generics_array_03-a1b8457.stdout", - "stdout_hash": "3c23166349a5e79daac788fb3438619034b2819eb0c3d9043448f068", + "stdout_hash": "e429fe5be2194f2cf728ddf064f2b57afdb893b5d9edd775d6219f19", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-generics_array_03-a1b8457.stdout b/tests/reference/asr-generics_array_03-a1b8457.stdout index 592d91110c..b01eeca1a2 100644 --- a/tests/reference/asr-generics_array_03-a1b8457.stdout +++ b/tests/reference/asr-generics_array_03-a1b8457.stdout @@ -293,6 +293,7 @@ Public .false. .false. + () ), __asr_generic_g_1: (Function @@ -562,6 +563,7 @@ Public .false. .false. + () ), _lpython_main_program: (Function @@ -598,6 +600,7 @@ Public .false. .false. + () ), add: (Function @@ -696,6 +699,7 @@ Public .false. .false. + () ), add_float: (Function @@ -784,6 +788,7 @@ Public .false. .false. + () ), add_integer: (Function @@ -872,6 +877,7 @@ Public .false. .false. + () ), g: (Function @@ -1180,6 +1186,7 @@ Public .false. .false. + () ), m: (Variable @@ -1449,6 +1456,7 @@ Public .false. .false. + () ), n: (Variable @@ -1574,6 +1582,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arccosh: (Function @@ -1646,6 +1655,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsin: (Function @@ -1718,6 +1728,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsinh: (Function @@ -1790,6 +1801,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctan: (Function @@ -1862,6 +1874,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctanh: (Function @@ -1934,6 +1947,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__ceil: (Function @@ -2086,6 +2100,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cos: (Function @@ -2158,6 +2173,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cosh: (Function @@ -2230,6 +2246,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__degrees: (Function @@ -2310,6 +2327,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__exp: (Function @@ -2382,6 +2400,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__floor: (Function @@ -2534,6 +2553,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log: (Function @@ -2606,6 +2626,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log10: (Function @@ -2678,6 +2699,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log2: (Function @@ -2766,6 +2788,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__mod: (Function @@ -2902,6 +2925,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__radians: (Function @@ -2982,6 +3006,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sin: (Function @@ -3054,6 +3079,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sinh: (Function @@ -3126,6 +3152,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sqrt: (Function @@ -3222,6 +3249,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tan: (Function @@ -3294,6 +3322,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tanh: (Function @@ -3366,6 +3395,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccos: (Function @@ -3438,6 +3468,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccosh: (Function @@ -3510,6 +3541,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsin: (Function @@ -3582,6 +3614,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsinh: (Function @@ -3654,6 +3687,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctan: (Function @@ -3726,6 +3760,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctanh: (Function @@ -3798,6 +3833,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__ceil: (Function @@ -3943,6 +3979,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cos: (Function @@ -4015,6 +4052,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cosh: (Function @@ -4087,6 +4125,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__degrees: (Function @@ -4172,6 +4211,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__exp: (Function @@ -4244,6 +4284,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__floor: (Function @@ -4389,6 +4430,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log: (Function @@ -4461,6 +4503,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log10: (Function @@ -4533,6 +4576,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log2: (Function @@ -4629,6 +4673,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__mod: (Function @@ -4755,6 +4800,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__radians: (Function @@ -4840,6 +4886,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sin: (Function @@ -4912,6 +4959,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sinh: (Function @@ -4984,6 +5032,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sqrt: (Function @@ -5088,6 +5137,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tan: (Function @@ -5160,6 +5210,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tanh: (Function @@ -5232,6 +5283,7 @@ Public .false. .false. + () ), _lfortran_dacos: (Function @@ -5292,6 +5344,7 @@ Public .false. .false. + () ), _lfortran_dacosh: (Function @@ -5352,6 +5405,7 @@ Public .false. .false. + () ), _lfortran_dasin: (Function @@ -5412,6 +5466,7 @@ Public .false. .false. + () ), _lfortran_dasinh: (Function @@ -5472,6 +5527,7 @@ Public .false. .false. + () ), _lfortran_datan: (Function @@ -5532,6 +5588,7 @@ Public .false. .false. + () ), _lfortran_datanh: (Function @@ -5592,6 +5649,7 @@ Public .false. .false. + () ), _lfortran_dcos: (Function @@ -5652,6 +5710,7 @@ Public .false. .false. + () ), _lfortran_dcosh: (Function @@ -5712,6 +5771,7 @@ Public .false. .false. + () ), _lfortran_dexp: (Function @@ -5772,6 +5832,7 @@ Public .false. .false. + () ), _lfortran_dlog: (Function @@ -5832,6 +5893,7 @@ Public .false. .false. + () ), _lfortran_dlog10: (Function @@ -5892,6 +5954,7 @@ Public .false. .false. + () ), _lfortran_dsin: (Function @@ -5952,6 +6015,7 @@ Public .false. .false. + () ), _lfortran_dsinh: (Function @@ -6012,6 +6076,7 @@ Public .false. .false. + () ), _lfortran_dtan: (Function @@ -6072,6 +6137,7 @@ Public .false. .false. + () ), _lfortran_dtanh: (Function @@ -6132,6 +6198,7 @@ Public .false. .false. + () ), _lfortran_sacos: (Function @@ -6192,6 +6259,7 @@ Public .false. .false. + () ), _lfortran_sacosh: (Function @@ -6252,6 +6320,7 @@ Public .false. .false. + () ), _lfortran_sasin: (Function @@ -6312,6 +6381,7 @@ Public .false. .false. + () ), _lfortran_sasinh: (Function @@ -6372,6 +6442,7 @@ Public .false. .false. + () ), _lfortran_satan: (Function @@ -6432,6 +6503,7 @@ Public .false. .false. + () ), _lfortran_satanh: (Function @@ -6492,6 +6564,7 @@ Public .false. .false. + () ), _lfortran_scos: (Function @@ -6552,6 +6625,7 @@ Public .false. .false. + () ), _lfortran_scosh: (Function @@ -6612,6 +6686,7 @@ Public .false. .false. + () ), _lfortran_sexp: (Function @@ -6672,6 +6747,7 @@ Public .false. .false. + () ), _lfortran_slog: (Function @@ -6732,6 +6808,7 @@ Public .false. .false. + () ), _lfortran_slog10: (Function @@ -6792,6 +6869,7 @@ Public .false. .false. + () ), _lfortran_ssin: (Function @@ -6852,6 +6930,7 @@ Public .false. .false. + () ), _lfortran_ssinh: (Function @@ -6912,6 +6991,7 @@ Public .false. .false. + () ), _lfortran_stan: (Function @@ -6972,6 +7052,7 @@ Public .false. .false. + () ), _lfortran_stanh: (Function @@ -7032,6 +7113,7 @@ Public .false. .false. + () ), arccos: (GenericProcedure diff --git a/tests/reference/asr-generics_list_01-4ec4007.json b/tests/reference/asr-generics_list_01-4ec4007.json index 729216f5fd..9d7615be94 100644 --- a/tests/reference/asr-generics_list_01-4ec4007.json +++ b/tests/reference/asr-generics_list_01-4ec4007.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-generics_list_01-4ec4007.stdout", - "stdout_hash": "2a9324f0c8443c8c55ec7ac2e2726a43f5303f994455e33f4607a18c", + "stdout_hash": "eae7b9f511d9c29a3b88a863a7c952cd2b07f087e87c57ea5dedfd9d", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-generics_list_01-4ec4007.stdout b/tests/reference/asr-generics_list_01-4ec4007.stdout index ed93f3cae9..2eef092bee 100644 --- a/tests/reference/asr-generics_list_01-4ec4007.stdout +++ b/tests/reference/asr-generics_list_01-4ec4007.stdout @@ -224,6 +224,7 @@ Public .false. .false. + () ), __asr_generic_mean_1: (Function @@ -424,6 +425,7 @@ Public .false. .false. + () ), __asr_generic_mean_2: (Function @@ -624,6 +626,7 @@ Public .false. .false. + () ), _lpython_main_program: (Function @@ -734,6 +737,7 @@ Public .false. .false. + () ), add: (Function @@ -832,6 +836,7 @@ Public .false. .false. + () ), add_float: (Function @@ -920,6 +925,7 @@ Public .false. .false. + () ), add_integer: (Function @@ -1008,6 +1014,7 @@ Public .false. .false. + () ), add_string: (Function @@ -1095,6 +1102,7 @@ Public .false. .false. + () ), div: (Function @@ -1181,6 +1189,7 @@ Public .false. .false. + () ), div_float: (Function @@ -1274,6 +1283,7 @@ Public .false. .false. + () ), div_integer: (Function @@ -1372,6 +1382,7 @@ Public .false. .false. + () ), div_string: (Function @@ -1457,6 +1468,7 @@ Public .false. .false. + () ), empty_float: (Function @@ -1525,6 +1537,7 @@ Public .false. .false. + () ), empty_integer: (Function @@ -1590,6 +1603,7 @@ Public .false. .false. + () ), empty_string: (Function @@ -1658,6 +1672,7 @@ Public .false. .false. + () ), mean: (Function @@ -1884,6 +1899,7 @@ Public .false. .false. + () ), zero: (Function @@ -1959,6 +1975,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-global_scope1-b335bb9.json b/tests/reference/asr-global_scope1-b335bb9.json index 42a44355e1..61f379d690 100644 --- a/tests/reference/asr-global_scope1-b335bb9.json +++ b/tests/reference/asr-global_scope1-b335bb9.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-global_scope1-b335bb9.stdout", - "stdout_hash": "b2e207d37a077b6d38cb8b27f55564dde34312d9e060bd6e643f8f1f", + "stdout_hash": "7fa200b1b41e3be3a3510984f0b849fa067a90a3e30cb13f35b655ee", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-global_scope1-b335bb9.stdout b/tests/reference/asr-global_scope1-b335bb9.stdout index ee4b0ea698..f8d5006f05 100644 --- a/tests/reference/asr-global_scope1-b335bb9.stdout +++ b/tests/reference/asr-global_scope1-b335bb9.stdout @@ -41,6 +41,7 @@ Public .false. .false. + () ), i: (Variable diff --git a/tests/reference/asr-global_syms_01-12ee218.json b/tests/reference/asr-global_syms_01-12ee218.json index 9c8b8e3c52..74e888c1af 100644 --- a/tests/reference/asr-global_syms_01-12ee218.json +++ b/tests/reference/asr-global_syms_01-12ee218.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-global_syms_01-12ee218.stdout", - "stdout_hash": "3d2da67cca33167747e760da5998c5f254e10d496b43ad0d0d652ae4", + "stdout_hash": "c503d5588918babcc5debc392181ee456a9eab3734eb616598e27be4", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-global_syms_01-12ee218.stdout b/tests/reference/asr-global_syms_01-12ee218.stdout index 6688c481d6..5c2061cebb 100644 --- a/tests/reference/asr-global_syms_01-12ee218.stdout +++ b/tests/reference/asr-global_syms_01-12ee218.stdout @@ -63,6 +63,7 @@ Public .false. .false. + () ), i: (Variable @@ -133,6 +134,7 @@ Public .false. .false. + () ), x: (Variable diff --git a/tests/reference/asr-list1-f15817d.json b/tests/reference/asr-list1-f15817d.json index bb5644c724..660e6cb234 100644 --- a/tests/reference/asr-list1-f15817d.json +++ b/tests/reference/asr-list1-f15817d.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-list1-f15817d.stdout", - "stdout_hash": "035fb99f1e4e18ded78713b733644f64881200701d8849ac4fd8d5ff", + "stdout_hash": "e9bff5455c84c4ee25f79b9d6b559dd9fb602c9db060d7c784631628", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-list1-f15817d.stdout b/tests/reference/asr-list1-f15817d.stdout index 98c5cf9976..7a40d96144 100644 --- a/tests/reference/asr-list1-f15817d.stdout +++ b/tests/reference/asr-list1-f15817d.stdout @@ -406,6 +406,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-loop1-ce84aac.json b/tests/reference/asr-loop1-ce84aac.json index 12231e207d..58dece9782 100644 --- a/tests/reference/asr-loop1-ce84aac.json +++ b/tests/reference/asr-loop1-ce84aac.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-loop1-ce84aac.stdout", - "stdout_hash": "b609d2e14cba7522f76f013a99ce4d0621527ce37dbbe6da07463901", + "stdout_hash": "2218e39137c7299902d8e0b5c6694c3b8d45f276ab44968ed5af6072", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-loop1-ce84aac.stdout b/tests/reference/asr-loop1-ce84aac.stdout index 264af2643f..c6395f2217 100644 --- a/tests/reference/asr-loop1-ce84aac.stdout +++ b/tests/reference/asr-loop1-ce84aac.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), main0: (Function @@ -139,6 +140,7 @@ Public .false. .false. + () ), test_factorial_1: (Function @@ -272,6 +274,7 @@ Public .false. .false. + () ), test_factorial_2: (Function @@ -402,6 +405,7 @@ Public .false. .false. + () ), test_factorial_3: (Function @@ -555,6 +559,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-loop2-5e07e8f.json b/tests/reference/asr-loop2-5e07e8f.json index 612ec4b366..2dbe409116 100644 --- a/tests/reference/asr-loop2-5e07e8f.json +++ b/tests/reference/asr-loop2-5e07e8f.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-loop2-5e07e8f.stdout", - "stdout_hash": "a2005f6ca41c3b8e489ca737d3efd179d240f772780ba27ee4fa6f64", + "stdout_hash": "321ef394ac2085c8381889eb50d65696a6eb76194caa064e46cee1a6", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-loop2-5e07e8f.stdout b/tests/reference/asr-loop2-5e07e8f.stdout index 5db4d4a797..3b2c2b39b7 100644 --- a/tests/reference/asr-loop2-5e07e8f.stdout +++ b/tests/reference/asr-loop2-5e07e8f.stdout @@ -49,6 +49,7 @@ Public .false. .false. + () ), exit: (ExternalSymbol @@ -171,6 +172,7 @@ Public .false. .false. + () ) }) _global_symbols @@ -355,6 +357,7 @@ Public .false. .false. + () ), _lpython_get_argc: (Function @@ -400,6 +403,7 @@ Public .false. .false. + () ), _lpython_get_argv: (Function @@ -460,6 +464,7 @@ Public .false. .false. + () ), argv: (Variable @@ -524,6 +529,7 @@ Public .false. .false. + () ), global_initializer: (Function @@ -568,6 +574,7 @@ Public .false. .false. + () ) }) sys diff --git a/tests/reference/asr-loop3-e2afee9.json b/tests/reference/asr-loop3-e2afee9.json index 22e402e763..0c0312ee60 100644 --- a/tests/reference/asr-loop3-e2afee9.json +++ b/tests/reference/asr-loop3-e2afee9.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-loop3-e2afee9.stdout", - "stdout_hash": "c5cea6ff690e8212cbe418eae6a8997c88a4d0f6a7102e56b85a9b29", + "stdout_hash": "d79e903a96ae8804b81863c1ae2dcad531187438339bde0767819be9", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-loop3-e2afee9.stdout b/tests/reference/asr-loop3-e2afee9.stdout index 59a613b8fa..741cbd59aa 100644 --- a/tests/reference/asr-loop3-e2afee9.stdout +++ b/tests/reference/asr-loop3-e2afee9.stdout @@ -66,6 +66,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-loop4-b39f53b.json b/tests/reference/asr-loop4-b39f53b.json index beb6cb3927..935124a29d 100644 --- a/tests/reference/asr-loop4-b39f53b.json +++ b/tests/reference/asr-loop4-b39f53b.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-loop4-b39f53b.stdout", - "stdout_hash": "4801ecdc1b211501d23938eaeb8eb661f56b52ef1d8b2d4c3a0c838d", + "stdout_hash": "d4b94940f7d1cb751fe3dba926a5c7e49e929c42c4f3c2ea683d642f", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-loop4-b39f53b.stdout b/tests/reference/asr-loop4-b39f53b.stdout index 4e8e35ba1d..76c697f944 100644 --- a/tests/reference/asr-loop4-b39f53b.stdout +++ b/tests/reference/asr-loop4-b39f53b.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), test_for: (Function @@ -138,6 +139,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-modules_02-5371fe0.json b/tests/reference/asr-modules_02-5371fe0.json index 2f239abc31..14ee87afeb 100644 --- a/tests/reference/asr-modules_02-5371fe0.json +++ b/tests/reference/asr-modules_02-5371fe0.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-modules_02-5371fe0.stdout", - "stdout_hash": "88e2b22903a36b1f6e6d9a815863d3d5974b3fa201e1652a2dd183c7", + "stdout_hash": "d7b97506f6a01bfc3b0d5c8cce2bfcb289ae77972881fdfca1735ab0", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-modules_02-5371fe0.stdout b/tests/reference/asr-modules_02-5371fe0.stdout index 9f32a116b9..c38536eb0f 100644 --- a/tests/reference/asr-modules_02-5371fe0.stdout +++ b/tests/reference/asr-modules_02-5371fe0.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), f: (ExternalSymbol @@ -129,6 +130,7 @@ Public .false. .false. + () ) }) _global_symbols @@ -210,6 +212,7 @@ Public .false. .false. + () ), g: (ExternalSymbol @@ -270,6 +273,7 @@ Public .false. .false. + () ) }) modules_02c diff --git a/tests/reference/asr-print_02-f237d46.json b/tests/reference/asr-print_02-f237d46.json index a31b234227..1c195ad965 100644 --- a/tests/reference/asr-print_02-f237d46.json +++ b/tests/reference/asr-print_02-f237d46.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-print_02-f237d46.stdout", - "stdout_hash": "1068abae913b2dee9be810308e73468a04cf921c18521c4572375155", + "stdout_hash": "ae7c43690716cf3e26c5811926a0eaf147e1b2a257c749b564bf3dd6", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-print_02-f237d46.stdout b/tests/reference/asr-print_02-f237d46.stdout index 94656051f1..55d4187ffb 100644 --- a/tests/reference/asr-print_02-f237d46.stdout +++ b/tests/reference/asr-print_02-f237d46.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), check: (Function @@ -99,6 +100,7 @@ Public .false. .false. + () ), f: (Function @@ -386,6 +388,7 @@ Public .false. .false. + () ), test_nested_lists: (Function @@ -808,6 +811,7 @@ Public .false. .false. + () ), test_nested_lists2: (Function @@ -2575,6 +2579,7 @@ Public .false. .false. + () ), test_print_list_tuple: (Function @@ -2904,6 +2909,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-set1-7de4081.json b/tests/reference/asr-set1-7de4081.json index c35c507b49..72a84c8855 100644 --- a/tests/reference/asr-set1-7de4081.json +++ b/tests/reference/asr-set1-7de4081.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-set1-7de4081.stdout", - "stdout_hash": "751b8344b31939eb8a815b9f2844d7a30aa64cf5f9367c8a2249f6f7", + "stdout_hash": "9d61d7c399bc81558e15e3ced4f525fedb099643562fc308ae43f74b", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-set1-7de4081.stdout b/tests/reference/asr-set1-7de4081.stdout index 1b420a6354..732b4998c0 100644 --- a/tests/reference/asr-set1-7de4081.stdout +++ b/tests/reference/asr-set1-7de4081.stdout @@ -148,6 +148,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-structs_01-c473a5f.json b/tests/reference/asr-structs_01-c473a5f.json index 7cbe833694..8446687ed0 100644 --- a/tests/reference/asr-structs_01-c473a5f.json +++ b/tests/reference/asr-structs_01-c473a5f.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-structs_01-c473a5f.stdout", - "stdout_hash": "9e7a80fa6b8d59149a7c42e09c894b9f806f9eaadf589088c5786b63", + "stdout_hash": "846684c920aa9bae3979390a15d8d43dc5de56c8a7316c593bf4b7ac", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-structs_01-c473a5f.stdout b/tests/reference/asr-structs_01-c473a5f.stdout index 65d9e49ac9..5cb9949db0 100644 --- a/tests/reference/asr-structs_01-c473a5f.stdout +++ b/tests/reference/asr-structs_01-c473a5f.stdout @@ -89,6 +89,7 @@ Public .false. .false. + () ), change_struct: (Function @@ -189,6 +190,7 @@ Public .false. .false. + () ), f: (Function @@ -261,6 +263,7 @@ Public .false. .false. + () ), g: (Function @@ -497,6 +500,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-structs_02-a0958ac.json b/tests/reference/asr-structs_02-a0958ac.json index 754d55d978..ca91dade07 100644 --- a/tests/reference/asr-structs_02-a0958ac.json +++ b/tests/reference/asr-structs_02-a0958ac.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-structs_02-a0958ac.stdout", - "stdout_hash": "74cda701fe076a818f03ce03f342961d731ef7479164a2e113f46de6", + "stdout_hash": "f56302bba116e03b67d1812db40060ab8017dd5ce79b2bdff7baf644", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-structs_02-a0958ac.stdout b/tests/reference/asr-structs_02-a0958ac.stdout index 7673129993..02a90d442a 100644 --- a/tests/reference/asr-structs_02-a0958ac.stdout +++ b/tests/reference/asr-structs_02-a0958ac.stdout @@ -89,6 +89,7 @@ Public .false. .false. + () ), f: (Function @@ -326,6 +327,7 @@ Public .false. .false. + () ), g: (Function @@ -376,6 +378,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-structs_03-14c22b7.json b/tests/reference/asr-structs_03-14c22b7.json index f4d6bc529a..e6eeaed2d9 100644 --- a/tests/reference/asr-structs_03-14c22b7.json +++ b/tests/reference/asr-structs_03-14c22b7.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-structs_03-14c22b7.stdout", - "stdout_hash": "ede22e89ac476cd55b7304499c212a67133d4fb072b82edaa34f6b87", + "stdout_hash": "91368823ce5e08889f546f41ec63bb9a54c0b8d471c49f92689f2a6c", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-structs_03-14c22b7.stdout b/tests/reference/asr-structs_03-14c22b7.stdout index a5a2706aee..7db2faadf5 100644 --- a/tests/reference/asr-structs_03-14c22b7.stdout +++ b/tests/reference/asr-structs_03-14c22b7.stdout @@ -89,6 +89,7 @@ Public .false. .false. + () ), f: (Function @@ -165,6 +166,7 @@ Public .false. .false. + () ), g: (Function @@ -346,6 +348,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-structs_04-7e4824e.json b/tests/reference/asr-structs_04-7e4824e.json index f4cbbff250..fa903c1a6d 100644 --- a/tests/reference/asr-structs_04-7e4824e.json +++ b/tests/reference/asr-structs_04-7e4824e.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-structs_04-7e4824e.stdout", - "stdout_hash": "50f21cc5cbaa568b2131bd4475fd9b2aa5d8c58dc26cf9f38729a0c7", + "stdout_hash": "596c5faeae119e44e06dc8f6501c1b84360bceed027db7b76498eb1f", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-structs_04-7e4824e.stdout b/tests/reference/asr-structs_04-7e4824e.stdout index d86b529eb6..03aa35d7e4 100644 --- a/tests/reference/asr-structs_04-7e4824e.stdout +++ b/tests/reference/asr-structs_04-7e4824e.stdout @@ -139,6 +139,7 @@ Public .false. .false. + () ), f: (Function @@ -297,6 +298,7 @@ Public .false. .false. + () ), g: (Function @@ -596,6 +598,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-structs_05-2ccee30.json b/tests/reference/asr-structs_05-2ccee30.json index 7c2beb415f..6a10038fe2 100644 --- a/tests/reference/asr-structs_05-2ccee30.json +++ b/tests/reference/asr-structs_05-2ccee30.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-structs_05-2ccee30.stdout", - "stdout_hash": "dadfa881569bd4d65af4dcb39e0ba8adff444842be2c45745f0f1762", + "stdout_hash": "eed215681e7afcff6553f61228ae7482df849e1b24c3a022f80c6da0", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-structs_05-2ccee30.stdout b/tests/reference/asr-structs_05-2ccee30.stdout index f50d323cdf..0ef6e59ba5 100644 --- a/tests/reference/asr-structs_05-2ccee30.stdout +++ b/tests/reference/asr-structs_05-2ccee30.stdout @@ -169,6 +169,7 @@ Public .false. .false. + () ), g: (Function @@ -398,6 +399,7 @@ Public .false. .false. + () ), update_1: (Function @@ -537,6 +539,7 @@ Public .false. .false. + () ), update_2: (Function @@ -744,6 +747,7 @@ Public .false. .false. + () ), verify: (Function @@ -1357,6 +1361,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-subscript1-22a7138.json b/tests/reference/asr-subscript1-22a7138.json index 8c46fec2ae..cfd33a7c0a 100644 --- a/tests/reference/asr-subscript1-22a7138.json +++ b/tests/reference/asr-subscript1-22a7138.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-subscript1-22a7138.stdout", - "stdout_hash": "b5d5d8d43cc8755344a7580608ababa8e1871afa3eaa5e6dd5397079", + "stdout_hash": "5f7608fce73798c40090c36aef0e679799a6a9fbe4275e2b77e4edbc", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-subscript1-22a7138.stdout b/tests/reference/asr-subscript1-22a7138.stdout index 7cdfc108c7..bb05eadc10 100644 --- a/tests/reference/asr-subscript1-22a7138.stdout +++ b/tests/reference/asr-subscript1-22a7138.stdout @@ -292,6 +292,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_bool_binop-3075d22.json b/tests/reference/asr-test_bool_binop-3075d22.json index 515b7c079d..15a39ad2a7 100644 --- a/tests/reference/asr-test_bool_binop-3075d22.json +++ b/tests/reference/asr-test_bool_binop-3075d22.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_bool_binop-3075d22.stdout", - "stdout_hash": "ee64faf8e4e8e1403b8cfd8eb7fd01dacbf5e79dbe23ba1fa0690f7b", + "stdout_hash": "ac237bb869129e929f4dbb3cfe0a03b2c9b9ce43c3122b42c77f4a30", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_bool_binop-3075d22.stdout b/tests/reference/asr-test_bool_binop-3075d22.stdout index 4e101f64bb..87077db533 100644 --- a/tests/reference/asr-test_bool_binop-3075d22.stdout +++ b/tests/reference/asr-test_bool_binop-3075d22.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), f: (Function @@ -423,6 +424,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_builtin-4f04bbc.json b/tests/reference/asr-test_builtin-4f04bbc.json index 29e8b13f1b..b73e34229e 100644 --- a/tests/reference/asr-test_builtin-4f04bbc.json +++ b/tests/reference/asr-test_builtin-4f04bbc.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin-4f04bbc.stdout", - "stdout_hash": "124cbd10503e9a68ef624cea6172e18c07be1506b2ad99d54bff2687", + "stdout_hash": "8646b030fe5cd3f1760df67fa9475f4e9442dec9be29ac6bc5bae89f", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin-4f04bbc.stdout b/tests/reference/asr-test_builtin-4f04bbc.stdout index 6034002755..edb99b84bc 100644 --- a/tests/reference/asr-test_builtin-4f04bbc.stdout +++ b/tests/reference/asr-test_builtin-4f04bbc.stdout @@ -56,6 +56,7 @@ Public .false. .false. + () ), more_test: (Function @@ -337,6 +338,7 @@ Public .false. .false. + () ), test_chr: (Function @@ -1226,6 +1228,7 @@ Public .false. .false. + () ), test_ord: (Function @@ -2076,6 +2079,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_builtin_abs-06a7e49.json b/tests/reference/asr-test_builtin_abs-06a7e49.json index 2af7237314..9a7031e794 100644 --- a/tests/reference/asr-test_builtin_abs-06a7e49.json +++ b/tests/reference/asr-test_builtin_abs-06a7e49.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_abs-06a7e49.stdout", - "stdout_hash": "3fe081410079245a46553091d8ba6b50c56547533376a84f83980cfe", + "stdout_hash": "4c9756b60ea8273c60cef5be907ed3d3097396a14bf0b478687099cc", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_abs-06a7e49.stdout b/tests/reference/asr-test_builtin_abs-06a7e49.stdout index 0f5fd4d8b3..c542ad9a25 100644 --- a/tests/reference/asr-test_builtin_abs-06a7e49.stdout +++ b/tests/reference/asr-test_builtin_abs-06a7e49.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), test_abs: (Function @@ -561,6 +562,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_builtin_bin-0ca34fe.json b/tests/reference/asr-test_builtin_bin-0ca34fe.json index 2349f68624..3c6a5060e2 100644 --- a/tests/reference/asr-test_builtin_bin-0ca34fe.json +++ b/tests/reference/asr-test_builtin_bin-0ca34fe.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_bin-0ca34fe.stdout", - "stdout_hash": "fc6697fb11dd4763f4e8bb439462855bea5d6fecd67c63b692816b88", + "stdout_hash": "acedde8dac6725cfbee6d9dfeae461504681eb334655eb9c69619600", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_bin-0ca34fe.stdout b/tests/reference/asr-test_builtin_bin-0ca34fe.stdout index e654277b06..6c1d8774d1 100644 --- a/tests/reference/asr-test_builtin_bin-0ca34fe.stdout +++ b/tests/reference/asr-test_builtin_bin-0ca34fe.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), test_bin: (Function @@ -231,6 +232,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_builtin_bool-fe3fe33.json b/tests/reference/asr-test_builtin_bool-fe3fe33.json index 31d3344ab8..5e3f6e2b54 100644 --- a/tests/reference/asr-test_builtin_bool-fe3fe33.json +++ b/tests/reference/asr-test_builtin_bool-fe3fe33.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_bool-fe3fe33.stdout", - "stdout_hash": "712ebdb1adb2721122e07cd069b383ee87082ff20fc75e246eeaf48b", + "stdout_hash": "61e1e7ca20a28d6a98bc86312892444fff82df7357773e3eaafe5fa6", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_bool-fe3fe33.stdout b/tests/reference/asr-test_builtin_bool-fe3fe33.stdout index 901e075752..e851bf814a 100644 --- a/tests/reference/asr-test_builtin_bool-fe3fe33.stdout +++ b/tests/reference/asr-test_builtin_bool-fe3fe33.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), test_bool: (Function @@ -847,6 +848,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_builtin_float-97f9316.json b/tests/reference/asr-test_builtin_float-97f9316.json index db148cf95a..1d4641ed92 100644 --- a/tests/reference/asr-test_builtin_float-97f9316.json +++ b/tests/reference/asr-test_builtin_float-97f9316.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_float-97f9316.stdout", - "stdout_hash": "fbaad0a3b455e5e18a367ad4e6da559ff0f1467ac387e1472d627a31", + "stdout_hash": "d1e2d20543855f6da74b2fb7f654a6ecdd39c1dbac7fb84330c43386", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_float-97f9316.stdout b/tests/reference/asr-test_builtin_float-97f9316.stdout index 1a68394f95..baebd15ed4 100644 --- a/tests/reference/asr-test_builtin_float-97f9316.stdout +++ b/tests/reference/asr-test_builtin_float-97f9316.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), test_float: (Function @@ -489,6 +490,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_builtin_hex-d4abc3e.json b/tests/reference/asr-test_builtin_hex-d4abc3e.json index 0a95dc5b80..85f11f5fc8 100644 --- a/tests/reference/asr-test_builtin_hex-d4abc3e.json +++ b/tests/reference/asr-test_builtin_hex-d4abc3e.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_hex-d4abc3e.stdout", - "stdout_hash": "942776897c956b114ac6a5916bbdf3ae56c46905ce449bf64d0c979d", + "stdout_hash": "9c5e1113e14f5bb7420024f8a9d74cc9529b2fe49137a184753265a0", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_hex-d4abc3e.stdout b/tests/reference/asr-test_builtin_hex-d4abc3e.stdout index b486962ff5..36f709ae58 100644 --- a/tests/reference/asr-test_builtin_hex-d4abc3e.stdout +++ b/tests/reference/asr-test_builtin_hex-d4abc3e.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), test_hex: (Function @@ -206,6 +207,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_builtin_int-990d1de.json b/tests/reference/asr-test_builtin_int-990d1de.json index 044bf4786f..1885715a00 100644 --- a/tests/reference/asr-test_builtin_int-990d1de.json +++ b/tests/reference/asr-test_builtin_int-990d1de.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_int-990d1de.stdout", - "stdout_hash": "d20fba423ef82cc8d6e4ee30ab3d8491c6293b2997902c7aa9524aa3", + "stdout_hash": "a53347fa78c3dea42906e8001768b0f4d0755d2955f30ba3f281b92d", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_int-990d1de.stdout b/tests/reference/asr-test_builtin_int-990d1de.stdout index 73f2d0b080..3cdb0e2c8d 100644 --- a/tests/reference/asr-test_builtin_int-990d1de.stdout +++ b/tests/reference/asr-test_builtin_int-990d1de.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), check_all: (Function @@ -85,6 +86,7 @@ Public .false. .false. + () ), test_bool_to_int: (Function @@ -579,6 +581,7 @@ Public .false. .false. + () ), test_int: (Function @@ -969,6 +972,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_builtin_len-922cf65.json b/tests/reference/asr-test_builtin_len-922cf65.json index 747ef0a2f6..bbd94546bd 100644 --- a/tests/reference/asr-test_builtin_len-922cf65.json +++ b/tests/reference/asr-test_builtin_len-922cf65.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_len-922cf65.stdout", - "stdout_hash": "63b7c04e19b7225770ea9b64aa60f8b069cf9c8717222fe52d9e8859", + "stdout_hash": "12b52d6065970fc9c51b0c544e0ca85d599e4b0ad2eefd2d46258f3f", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_len-922cf65.stdout b/tests/reference/asr-test_builtin_len-922cf65.stdout index e24d8808f4..250ba02825 100644 --- a/tests/reference/asr-test_builtin_len-922cf65.stdout +++ b/tests/reference/asr-test_builtin_len-922cf65.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), test_len: (Function @@ -644,6 +645,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_builtin_oct-490a98b.json b/tests/reference/asr-test_builtin_oct-490a98b.json index 9b973827c1..dc9eb87356 100644 --- a/tests/reference/asr-test_builtin_oct-490a98b.json +++ b/tests/reference/asr-test_builtin_oct-490a98b.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_oct-490a98b.stdout", - "stdout_hash": "2595df1d3afaf56e21cb04399f3a62a6640286078ae638ce0fbd2e11", + "stdout_hash": "5b05f7192412742a534ed4b9efb5901457d44d3047e52af46c426993", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_oct-490a98b.stdout b/tests/reference/asr-test_builtin_oct-490a98b.stdout index c8960723fe..95dbb9efd4 100644 --- a/tests/reference/asr-test_builtin_oct-490a98b.stdout +++ b/tests/reference/asr-test_builtin_oct-490a98b.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), test_oct: (Function @@ -206,6 +207,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_builtin_pow-cea529e.json b/tests/reference/asr-test_builtin_pow-cea529e.json index 0a5ef40a0d..35434fc6c8 100644 --- a/tests/reference/asr-test_builtin_pow-cea529e.json +++ b/tests/reference/asr-test_builtin_pow-cea529e.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_pow-cea529e.stdout", - "stdout_hash": "f9352aaaba1f328f9f21fea30b0150e3cabce58ffdbad1ef04a92eb5", + "stdout_hash": "15de905a7f869d30992fc058070c657ce3d4eb5f63d69dc2a3ccd38d", "stderr": "asr-test_builtin_pow-cea529e.stderr", "stderr_hash": "859ce76c74748f2d32c7eab92cfbba789a78d4cbf5818646b99806ea", "returncode": 0 diff --git a/tests/reference/asr-test_builtin_pow-cea529e.stdout b/tests/reference/asr-test_builtin_pow-cea529e.stdout index 81451c8b30..3df7fb2f3a 100644 --- a/tests/reference/asr-test_builtin_pow-cea529e.stdout +++ b/tests/reference/asr-test_builtin_pow-cea529e.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), test_pow: (Function @@ -1862,6 +1863,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_builtin_round-cca5cba.json b/tests/reference/asr-test_builtin_round-cca5cba.json index e87a53beae..9daf7aa07b 100644 --- a/tests/reference/asr-test_builtin_round-cca5cba.json +++ b/tests/reference/asr-test_builtin_round-cca5cba.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_round-cca5cba.stdout", - "stdout_hash": "36746cd9b5f5221abb49b31c5eec415dbcd227fb18a817abd3863fb6", + "stdout_hash": "da41ed6becf766a5436d03c345795d4acb6a3a18a88069ec6736f6e3", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_round-cca5cba.stdout b/tests/reference/asr-test_builtin_round-cca5cba.stdout index e57603375b..74bb3fd9e4 100644 --- a/tests/reference/asr-test_builtin_round-cca5cba.stdout +++ b/tests/reference/asr-test_builtin_round-cca5cba.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), test_round: (Function @@ -873,6 +874,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_builtin_str-fcdedc2.json b/tests/reference/asr-test_builtin_str-fcdedc2.json index bd17d33a7a..0d929975ff 100644 --- a/tests/reference/asr-test_builtin_str-fcdedc2.json +++ b/tests/reference/asr-test_builtin_str-fcdedc2.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_builtin_str-fcdedc2.stdout", - "stdout_hash": "98850662fa73b3427a55a25a48241bd86b637a07b01852b38af06a55", + "stdout_hash": "ed50cd0c06a144f79dd4fb1d51fc4a200cf40477ac36b3d1d8ce7133", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_builtin_str-fcdedc2.stdout b/tests/reference/asr-test_builtin_str-fcdedc2.stdout index cf59ee469f..55528587e2 100644 --- a/tests/reference/asr-test_builtin_str-fcdedc2.stdout +++ b/tests/reference/asr-test_builtin_str-fcdedc2.stdout @@ -63,6 +63,7 @@ Public .false. .false. + () ), str_conv_for_variables: (Function @@ -397,6 +398,7 @@ Public .false. .false. + () ), test_issue_883: (Function @@ -624,6 +626,7 @@ Public .false. .false. + () ), test_str_int_float: (Function @@ -918,6 +921,7 @@ Public .false. .false. + () ), test_str_slice_step: (Function @@ -1418,6 +1422,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_c_interop_01-8bee4ec.json b/tests/reference/asr-test_c_interop_01-8bee4ec.json index 8de6b97b0a..7579d8674f 100644 --- a/tests/reference/asr-test_c_interop_01-8bee4ec.json +++ b/tests/reference/asr-test_c_interop_01-8bee4ec.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_c_interop_01-8bee4ec.stdout", - "stdout_hash": "4937afbc63b4af69a2e5e84882adfc4c4ca48a460602eaf21cb38f25", + "stdout_hash": "b431290c19c724b119da8d2fb27444845454bb144b5e4dcb62cb1bbe", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_c_interop_01-8bee4ec.stdout b/tests/reference/asr-test_c_interop_01-8bee4ec.stdout index 3cedfc0265..6bf24ab50f 100644 --- a/tests/reference/asr-test_c_interop_01-8bee4ec.stdout +++ b/tests/reference/asr-test_c_interop_01-8bee4ec.stdout @@ -83,6 +83,7 @@ Public .false. .false. + () ), _lfortran_bgt64: (Function @@ -160,6 +161,7 @@ Public .false. .false. + () ), _lfortran_dsin: (Function @@ -220,6 +222,7 @@ Public .false. .false. + () ), _lfortran_ssin: (Function @@ -280,6 +283,7 @@ Public .false. .false. + () ), _lpython_main_program: (Function @@ -316,6 +320,7 @@ Public .false. .false. + () ), test_c_callbacks: (Function @@ -663,6 +668,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_complex_01-c199562.json b/tests/reference/asr-test_complex_01-c199562.json index e8b27c7609..9a1d1360ee 100644 --- a/tests/reference/asr-test_complex_01-c199562.json +++ b/tests/reference/asr-test_complex_01-c199562.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_complex_01-c199562.stdout", - "stdout_hash": "b09e36cc8e9089ce8dc249f86131f7fb6badd8b3faf953361d44ef16", + "stdout_hash": "ba8b86b72b4389dabb51431ed69b07973402808e1bb07ea4c08e1cc5", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_complex_01-c199562.stdout b/tests/reference/asr-test_complex_01-c199562.stdout index dfa315f44c..fea6f0f666 100644 --- a/tests/reference/asr-test_complex_01-c199562.stdout +++ b/tests/reference/asr-test_complex_01-c199562.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), check: (Function @@ -99,6 +100,7 @@ Public .false. .false. + () ), test_complex: (Function @@ -999,6 +1001,7 @@ Public .false. .false. + () ), test_complex_not: (Function @@ -1176,6 +1179,7 @@ Public .false. .false. + () ), test_complex_unary_minus: (Function @@ -1763,6 +1767,7 @@ Public .false. .false. + () ), test_real_imag: (Function @@ -1956,6 +1961,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_complex_02-6516823.json b/tests/reference/asr-test_complex_02-6516823.json index 097d2191a4..8d4bf52161 100644 --- a/tests/reference/asr-test_complex_02-6516823.json +++ b/tests/reference/asr-test_complex_02-6516823.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_complex_02-6516823.stdout", - "stdout_hash": "0453eeeb350b13d0a245586a9e64dcf57847b523ad5edf8108be633e", + "stdout_hash": "1f5c58d6fc10f4835dbfa3f90b0699854accc8edf4cf1f7241c770c8", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_complex_02-6516823.stdout b/tests/reference/asr-test_complex_02-6516823.stdout index 8ae8c37825..40fd50e392 100644 --- a/tests/reference/asr-test_complex_02-6516823.stdout +++ b/tests/reference/asr-test_complex_02-6516823.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), check: (Function @@ -92,6 +93,7 @@ Public .false. .false. + () ), test_complex_abs: (Function @@ -304,6 +306,7 @@ Public .false. .false. + () ), test_complex_binop_32: (Function @@ -496,6 +499,7 @@ Public .false. .false. + () ), test_complex_binop_64: (Function @@ -670,6 +674,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_end_sep_keywords-49ea13f.json b/tests/reference/asr-test_end_sep_keywords-49ea13f.json index b059d86404..7c0b328092 100644 --- a/tests/reference/asr-test_end_sep_keywords-49ea13f.json +++ b/tests/reference/asr-test_end_sep_keywords-49ea13f.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_end_sep_keywords-49ea13f.stdout", - "stdout_hash": "0464ad70774990acaf0f5ccf42a0915b55d61c8eb1f06396c62c0ef9", + "stdout_hash": "abd3d56db58711bac46b8548acd917a01d4d1671dbd2898906f04c19", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_end_sep_keywords-49ea13f.stdout b/tests/reference/asr-test_end_sep_keywords-49ea13f.stdout index 49f8d42342..164a959030 100644 --- a/tests/reference/asr-test_end_sep_keywords-49ea13f.stdout +++ b/tests/reference/asr-test_end_sep_keywords-49ea13f.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), testEndSepKeywords: (Function @@ -152,6 +153,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_integer_bitnot-0d0eafa.json b/tests/reference/asr-test_integer_bitnot-0d0eafa.json index 8f56f516a0..79cda34747 100644 --- a/tests/reference/asr-test_integer_bitnot-0d0eafa.json +++ b/tests/reference/asr-test_integer_bitnot-0d0eafa.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_integer_bitnot-0d0eafa.stdout", - "stdout_hash": "dcde5e01a94adf2a43802f42a3571ed47471faee31b25cf5c8dc443c", + "stdout_hash": "389cf08cbdbb1386094c10f654c495a5da46fe23f6eb2a8295e07d96", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_integer_bitnot-0d0eafa.stdout b/tests/reference/asr-test_integer_bitnot-0d0eafa.stdout index c6d1edb212..e63e222ca5 100644 --- a/tests/reference/asr-test_integer_bitnot-0d0eafa.stdout +++ b/tests/reference/asr-test_integer_bitnot-0d0eafa.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), f: (Function @@ -152,6 +153,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_max_min-e73decc.json b/tests/reference/asr-test_max_min-e73decc.json index 39814e8dd7..54be00ee96 100644 --- a/tests/reference/asr-test_max_min-e73decc.json +++ b/tests/reference/asr-test_max_min-e73decc.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_max_min-e73decc.stdout", - "stdout_hash": "bf826b81767f5516b5994efb62b8f2c0f6bd50e88391c5c843c85681", + "stdout_hash": "b55821a5517a59e5fd3b731c499f49ad4173ed0f37e6292744898072", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_max_min-e73decc.stdout b/tests/reference/asr-test_max_min-e73decc.stdout index b790a827bb..48891db997 100644 --- a/tests/reference/asr-test_max_min-e73decc.stdout +++ b/tests/reference/asr-test_max_min-e73decc.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), check: (Function @@ -99,6 +100,7 @@ Public .false. .false. + () ), test_max_float: (Function @@ -265,6 +267,7 @@ Public .false. .false. + () ), test_max_int: (Function @@ -465,6 +468,7 @@ Public .false. .false. + () ), test_min_float: (Function @@ -631,6 +635,7 @@ Public .false. .false. + () ), test_min_int: (Function @@ -831,6 +836,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-test_numpy_03-6dd742e.json b/tests/reference/asr-test_numpy_03-6dd742e.json index 1930cab9b9..2acf06676d 100644 --- a/tests/reference/asr-test_numpy_03-6dd742e.json +++ b/tests/reference/asr-test_numpy_03-6dd742e.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_numpy_03-6dd742e.stdout", - "stdout_hash": "9f6b0d74dab244f0ee79b59d415ac633167933a591e6093f152b1c7c", + "stdout_hash": "10b1b9b4a271cfc5db527fe2a0a1df4158cfe2501d49bef13ec562fa", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_numpy_03-6dd742e.stdout b/tests/reference/asr-test_numpy_03-6dd742e.stdout index 0b717710a2..2b8216b845 100644 --- a/tests/reference/asr-test_numpy_03-6dd742e.stdout +++ b/tests/reference/asr-test_numpy_03-6dd742e.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), test_1d_to_nd: (Function @@ -632,6 +633,7 @@ Public .false. .false. + () ), test_nd_to_1d: (Function @@ -1295,6 +1297,7 @@ Public .false. .false. + () ), test_reshape_with_argument: (Function @@ -1666,6 +1669,7 @@ Public .false. .false. + () ) }) _global_symbols @@ -1776,6 +1780,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arccosh: (Function @@ -1848,6 +1853,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsin: (Function @@ -1920,6 +1926,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsinh: (Function @@ -1992,6 +1999,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctan: (Function @@ -2064,6 +2072,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctanh: (Function @@ -2136,6 +2145,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__ceil: (Function @@ -2288,6 +2298,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cos: (Function @@ -2360,6 +2371,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cosh: (Function @@ -2432,6 +2444,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__degrees: (Function @@ -2512,6 +2525,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__exp: (Function @@ -2584,6 +2598,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__floor: (Function @@ -2736,6 +2751,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log: (Function @@ -2808,6 +2824,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log10: (Function @@ -2880,6 +2897,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log2: (Function @@ -2968,6 +2986,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__mod: (Function @@ -3104,6 +3123,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__radians: (Function @@ -3184,6 +3204,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sin: (Function @@ -3256,6 +3277,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sinh: (Function @@ -3328,6 +3350,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sqrt: (Function @@ -3424,6 +3447,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tan: (Function @@ -3496,6 +3520,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tanh: (Function @@ -3568,6 +3593,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccos: (Function @@ -3640,6 +3666,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccosh: (Function @@ -3712,6 +3739,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsin: (Function @@ -3784,6 +3812,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsinh: (Function @@ -3856,6 +3885,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctan: (Function @@ -3928,6 +3958,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctanh: (Function @@ -4000,6 +4031,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__ceil: (Function @@ -4145,6 +4177,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cos: (Function @@ -4217,6 +4250,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cosh: (Function @@ -4289,6 +4323,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__degrees: (Function @@ -4374,6 +4409,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__exp: (Function @@ -4446,6 +4482,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__floor: (Function @@ -4591,6 +4628,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log: (Function @@ -4663,6 +4701,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log10: (Function @@ -4735,6 +4774,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log2: (Function @@ -4831,6 +4871,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__mod: (Function @@ -4957,6 +4998,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__radians: (Function @@ -5042,6 +5084,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sin: (Function @@ -5114,6 +5157,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sinh: (Function @@ -5186,6 +5230,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sqrt: (Function @@ -5290,6 +5335,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tan: (Function @@ -5362,6 +5408,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tanh: (Function @@ -5434,6 +5481,7 @@ Public .false. .false. + () ), _lfortran_dacos: (Function @@ -5494,6 +5542,7 @@ Public .false. .false. + () ), _lfortran_dacosh: (Function @@ -5554,6 +5603,7 @@ Public .false. .false. + () ), _lfortran_dasin: (Function @@ -5614,6 +5664,7 @@ Public .false. .false. + () ), _lfortran_dasinh: (Function @@ -5674,6 +5725,7 @@ Public .false. .false. + () ), _lfortran_datan: (Function @@ -5734,6 +5786,7 @@ Public .false. .false. + () ), _lfortran_datanh: (Function @@ -5794,6 +5847,7 @@ Public .false. .false. + () ), _lfortran_dcos: (Function @@ -5854,6 +5908,7 @@ Public .false. .false. + () ), _lfortran_dcosh: (Function @@ -5914,6 +5969,7 @@ Public .false. .false. + () ), _lfortran_dexp: (Function @@ -5974,6 +6030,7 @@ Public .false. .false. + () ), _lfortran_dlog: (Function @@ -6034,6 +6091,7 @@ Public .false. .false. + () ), _lfortran_dlog10: (Function @@ -6094,6 +6152,7 @@ Public .false. .false. + () ), _lfortran_dsin: (Function @@ -6154,6 +6213,7 @@ Public .false. .false. + () ), _lfortran_dsinh: (Function @@ -6214,6 +6274,7 @@ Public .false. .false. + () ), _lfortran_dtan: (Function @@ -6274,6 +6335,7 @@ Public .false. .false. + () ), _lfortran_dtanh: (Function @@ -6334,6 +6396,7 @@ Public .false. .false. + () ), _lfortran_sacos: (Function @@ -6394,6 +6457,7 @@ Public .false. .false. + () ), _lfortran_sacosh: (Function @@ -6454,6 +6518,7 @@ Public .false. .false. + () ), _lfortran_sasin: (Function @@ -6514,6 +6579,7 @@ Public .false. .false. + () ), _lfortran_sasinh: (Function @@ -6574,6 +6640,7 @@ Public .false. .false. + () ), _lfortran_satan: (Function @@ -6634,6 +6701,7 @@ Public .false. .false. + () ), _lfortran_satanh: (Function @@ -6694,6 +6762,7 @@ Public .false. .false. + () ), _lfortran_scos: (Function @@ -6754,6 +6823,7 @@ Public .false. .false. + () ), _lfortran_scosh: (Function @@ -6814,6 +6884,7 @@ Public .false. .false. + () ), _lfortran_sexp: (Function @@ -6874,6 +6945,7 @@ Public .false. .false. + () ), _lfortran_slog: (Function @@ -6934,6 +7006,7 @@ Public .false. .false. + () ), _lfortran_slog10: (Function @@ -6994,6 +7067,7 @@ Public .false. .false. + () ), _lfortran_ssin: (Function @@ -7054,6 +7128,7 @@ Public .false. .false. + () ), _lfortran_ssinh: (Function @@ -7114,6 +7189,7 @@ Public .false. .false. + () ), _lfortran_stan: (Function @@ -7174,6 +7250,7 @@ Public .false. .false. + () ), _lfortran_stanh: (Function @@ -7234,6 +7311,7 @@ Public .false. .false. + () ), arccos: (GenericProcedure diff --git a/tests/reference/asr-test_numpy_04-3376b7a.json b/tests/reference/asr-test_numpy_04-3376b7a.json index b4d4e0a983..6bac47353b 100644 --- a/tests/reference/asr-test_numpy_04-3376b7a.json +++ b/tests/reference/asr-test_numpy_04-3376b7a.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_numpy_04-3376b7a.stdout", - "stdout_hash": "6cd1f7f0e42512fd9fb77c087d22572d858cd0cab607e7606b4d7327", + "stdout_hash": "e7eeab05e18a881067e9cfd0661c57d01eb942ad7eb36fac53267c17", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-test_numpy_04-3376b7a.stdout b/tests/reference/asr-test_numpy_04-3376b7a.stdout index 0a9df84220..daeab1ce27 100644 --- a/tests/reference/asr-test_numpy_04-3376b7a.stdout +++ b/tests/reference/asr-test_numpy_04-3376b7a.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), check: (Function @@ -85,6 +86,7 @@ Public .false. .false. + () ), test_array_01: (Function @@ -272,6 +274,7 @@ Public .false. .false. + () ), test_array_02: (Function @@ -456,6 +459,7 @@ Public .false. .false. + () ) }) _global_symbols @@ -566,6 +570,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arccosh: (Function @@ -638,6 +643,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsin: (Function @@ -710,6 +716,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsinh: (Function @@ -782,6 +789,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctan: (Function @@ -854,6 +862,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctanh: (Function @@ -926,6 +935,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__ceil: (Function @@ -1078,6 +1088,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cos: (Function @@ -1150,6 +1161,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cosh: (Function @@ -1222,6 +1234,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__degrees: (Function @@ -1302,6 +1315,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__exp: (Function @@ -1374,6 +1388,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__floor: (Function @@ -1526,6 +1541,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log: (Function @@ -1598,6 +1614,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log10: (Function @@ -1670,6 +1687,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log2: (Function @@ -1758,6 +1776,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__mod: (Function @@ -1894,6 +1913,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__radians: (Function @@ -1974,6 +1994,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sin: (Function @@ -2046,6 +2067,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sinh: (Function @@ -2118,6 +2140,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sqrt: (Function @@ -2214,6 +2237,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tan: (Function @@ -2286,6 +2310,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tanh: (Function @@ -2358,6 +2383,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccos: (Function @@ -2430,6 +2456,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccosh: (Function @@ -2502,6 +2529,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsin: (Function @@ -2574,6 +2602,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsinh: (Function @@ -2646,6 +2675,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctan: (Function @@ -2718,6 +2748,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctanh: (Function @@ -2790,6 +2821,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__ceil: (Function @@ -2935,6 +2967,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cos: (Function @@ -3007,6 +3040,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cosh: (Function @@ -3079,6 +3113,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__degrees: (Function @@ -3164,6 +3199,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__exp: (Function @@ -3236,6 +3272,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__floor: (Function @@ -3381,6 +3418,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log: (Function @@ -3453,6 +3491,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log10: (Function @@ -3525,6 +3564,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log2: (Function @@ -3621,6 +3661,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__mod: (Function @@ -3747,6 +3788,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__radians: (Function @@ -3832,6 +3874,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sin: (Function @@ -3904,6 +3947,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sinh: (Function @@ -3976,6 +4020,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sqrt: (Function @@ -4080,6 +4125,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tan: (Function @@ -4152,6 +4198,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tanh: (Function @@ -4224,6 +4271,7 @@ Public .false. .false. + () ), _lfortran_dacos: (Function @@ -4284,6 +4332,7 @@ Public .false. .false. + () ), _lfortran_dacosh: (Function @@ -4344,6 +4393,7 @@ Public .false. .false. + () ), _lfortran_dasin: (Function @@ -4404,6 +4454,7 @@ Public .false. .false. + () ), _lfortran_dasinh: (Function @@ -4464,6 +4515,7 @@ Public .false. .false. + () ), _lfortran_datan: (Function @@ -4524,6 +4576,7 @@ Public .false. .false. + () ), _lfortran_datanh: (Function @@ -4584,6 +4637,7 @@ Public .false. .false. + () ), _lfortran_dcos: (Function @@ -4644,6 +4698,7 @@ Public .false. .false. + () ), _lfortran_dcosh: (Function @@ -4704,6 +4759,7 @@ Public .false. .false. + () ), _lfortran_dexp: (Function @@ -4764,6 +4820,7 @@ Public .false. .false. + () ), _lfortran_dlog: (Function @@ -4824,6 +4881,7 @@ Public .false. .false. + () ), _lfortran_dlog10: (Function @@ -4884,6 +4942,7 @@ Public .false. .false. + () ), _lfortran_dsin: (Function @@ -4944,6 +5003,7 @@ Public .false. .false. + () ), _lfortran_dsinh: (Function @@ -5004,6 +5064,7 @@ Public .false. .false. + () ), _lfortran_dtan: (Function @@ -5064,6 +5125,7 @@ Public .false. .false. + () ), _lfortran_dtanh: (Function @@ -5124,6 +5186,7 @@ Public .false. .false. + () ), _lfortran_sacos: (Function @@ -5184,6 +5247,7 @@ Public .false. .false. + () ), _lfortran_sacosh: (Function @@ -5244,6 +5308,7 @@ Public .false. .false. + () ), _lfortran_sasin: (Function @@ -5304,6 +5369,7 @@ Public .false. .false. + () ), _lfortran_sasinh: (Function @@ -5364,6 +5430,7 @@ Public .false. .false. + () ), _lfortran_satan: (Function @@ -5424,6 +5491,7 @@ Public .false. .false. + () ), _lfortran_satanh: (Function @@ -5484,6 +5552,7 @@ Public .false. .false. + () ), _lfortran_scos: (Function @@ -5544,6 +5613,7 @@ Public .false. .false. + () ), _lfortran_scosh: (Function @@ -5604,6 +5674,7 @@ Public .false. .false. + () ), _lfortran_sexp: (Function @@ -5664,6 +5735,7 @@ Public .false. .false. + () ), _lfortran_slog: (Function @@ -5724,6 +5796,7 @@ Public .false. .false. + () ), _lfortran_slog10: (Function @@ -5784,6 +5857,7 @@ Public .false. .false. + () ), _lfortran_ssin: (Function @@ -5844,6 +5918,7 @@ Public .false. .false. + () ), _lfortran_ssinh: (Function @@ -5904,6 +5979,7 @@ Public .false. .false. + () ), _lfortran_stan: (Function @@ -5964,6 +6040,7 @@ Public .false. .false. + () ), _lfortran_stanh: (Function @@ -6024,6 +6101,7 @@ Public .false. .false. + () ), arccos: (GenericProcedure diff --git a/tests/reference/asr-test_pow-6f6a69d.json b/tests/reference/asr-test_pow-6f6a69d.json index fa1baf98dc..1c701134e7 100644 --- a/tests/reference/asr-test_pow-6f6a69d.json +++ b/tests/reference/asr-test_pow-6f6a69d.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-test_pow-6f6a69d.stdout", - "stdout_hash": "95dfd69b29cf0ff8d347b70893cd7fab04a05bd10963eeb1ebfb06f3", + "stdout_hash": "714fc840b117facc907d4c2980ffe7a3292bb38750d6e03e55dd54d2", "stderr": "asr-test_pow-6f6a69d.stderr", "stderr_hash": "3d950301563cce75654f28bf41f6f53428ed1f5ae997774345f374a3", "returncode": 0 diff --git a/tests/reference/asr-test_pow-6f6a69d.stdout b/tests/reference/asr-test_pow-6f6a69d.stdout index 079c8d0452..6e577fc535 100644 --- a/tests/reference/asr-test_pow-6f6a69d.stdout +++ b/tests/reference/asr-test_pow-6f6a69d.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), main: (Function @@ -120,6 +121,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-tuple1-ce358d9.json b/tests/reference/asr-tuple1-ce358d9.json index 435e38bd4a..70045861e3 100644 --- a/tests/reference/asr-tuple1-ce358d9.json +++ b/tests/reference/asr-tuple1-ce358d9.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-tuple1-ce358d9.stdout", - "stdout_hash": "5ef6ec9d5b44cbe462de63e6935f96cf2098698fbee557d90f465b64", + "stdout_hash": "cca445b87818b178705c256b1c5bff51fd74459cf52d573f2c20914d", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-tuple1-ce358d9.stdout b/tests/reference/asr-tuple1-ce358d9.stdout index 9c8504b6ae..70bf4b29e4 100644 --- a/tests/reference/asr-tuple1-ce358d9.stdout +++ b/tests/reference/asr-tuple1-ce358d9.stdout @@ -552,6 +552,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/asr-vec_01-9b22f33.json b/tests/reference/asr-vec_01-9b22f33.json index fdb98e36b9..a2471b09c0 100644 --- a/tests/reference/asr-vec_01-9b22f33.json +++ b/tests/reference/asr-vec_01-9b22f33.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "asr-vec_01-9b22f33.stdout", - "stdout_hash": "f3383ae5b6b3aa5057d3b7b2a5169b1a03134a53f081098a566cb7af", + "stdout_hash": "bec37fdcb37bbeedc497e125ea081a1395c8006b9edf8dbc3c1c79be", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/asr-vec_01-9b22f33.stdout b/tests/reference/asr-vec_01-9b22f33.stdout index e1f8155bc5..dc2dfeadef 100644 --- a/tests/reference/asr-vec_01-9b22f33.stdout +++ b/tests/reference/asr-vec_01-9b22f33.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), loop_vec: (Function @@ -215,6 +216,7 @@ Public .false. .false. + () ) }) _global_symbols @@ -325,6 +327,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arccosh: (Function @@ -397,6 +400,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsin: (Function @@ -469,6 +473,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsinh: (Function @@ -541,6 +546,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctan: (Function @@ -613,6 +619,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctanh: (Function @@ -685,6 +692,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__ceil: (Function @@ -837,6 +845,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cos: (Function @@ -909,6 +918,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cosh: (Function @@ -981,6 +991,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__degrees: (Function @@ -1061,6 +1072,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__exp: (Function @@ -1133,6 +1145,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__floor: (Function @@ -1285,6 +1298,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log: (Function @@ -1357,6 +1371,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log10: (Function @@ -1429,6 +1444,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log2: (Function @@ -1517,6 +1533,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__mod: (Function @@ -1653,6 +1670,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__radians: (Function @@ -1733,6 +1751,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sin: (Function @@ -1805,6 +1824,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sinh: (Function @@ -1877,6 +1897,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sqrt: (Function @@ -1973,6 +1994,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tan: (Function @@ -2045,6 +2067,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tanh: (Function @@ -2117,6 +2140,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccos: (Function @@ -2189,6 +2213,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccosh: (Function @@ -2261,6 +2286,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsin: (Function @@ -2333,6 +2359,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsinh: (Function @@ -2405,6 +2432,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctan: (Function @@ -2477,6 +2505,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctanh: (Function @@ -2549,6 +2578,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__ceil: (Function @@ -2694,6 +2724,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cos: (Function @@ -2766,6 +2797,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cosh: (Function @@ -2838,6 +2870,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__degrees: (Function @@ -2923,6 +2956,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__exp: (Function @@ -2995,6 +3029,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__floor: (Function @@ -3140,6 +3175,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log: (Function @@ -3212,6 +3248,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log10: (Function @@ -3284,6 +3321,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log2: (Function @@ -3380,6 +3418,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__mod: (Function @@ -3506,6 +3545,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__radians: (Function @@ -3591,6 +3631,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sin: (Function @@ -3663,6 +3704,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sinh: (Function @@ -3735,6 +3777,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sqrt: (Function @@ -3839,6 +3882,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tan: (Function @@ -3911,6 +3955,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tanh: (Function @@ -3983,6 +4028,7 @@ Public .false. .false. + () ), _lfortran_dacos: (Function @@ -4043,6 +4089,7 @@ Public .false. .false. + () ), _lfortran_dacosh: (Function @@ -4103,6 +4150,7 @@ Public .false. .false. + () ), _lfortran_dasin: (Function @@ -4163,6 +4211,7 @@ Public .false. .false. + () ), _lfortran_dasinh: (Function @@ -4223,6 +4272,7 @@ Public .false. .false. + () ), _lfortran_datan: (Function @@ -4283,6 +4333,7 @@ Public .false. .false. + () ), _lfortran_datanh: (Function @@ -4343,6 +4394,7 @@ Public .false. .false. + () ), _lfortran_dcos: (Function @@ -4403,6 +4455,7 @@ Public .false. .false. + () ), _lfortran_dcosh: (Function @@ -4463,6 +4516,7 @@ Public .false. .false. + () ), _lfortran_dexp: (Function @@ -4523,6 +4577,7 @@ Public .false. .false. + () ), _lfortran_dlog: (Function @@ -4583,6 +4638,7 @@ Public .false. .false. + () ), _lfortran_dlog10: (Function @@ -4643,6 +4699,7 @@ Public .false. .false. + () ), _lfortran_dsin: (Function @@ -4703,6 +4760,7 @@ Public .false. .false. + () ), _lfortran_dsinh: (Function @@ -4763,6 +4821,7 @@ Public .false. .false. + () ), _lfortran_dtan: (Function @@ -4823,6 +4882,7 @@ Public .false. .false. + () ), _lfortran_dtanh: (Function @@ -4883,6 +4943,7 @@ Public .false. .false. + () ), _lfortran_sacos: (Function @@ -4943,6 +5004,7 @@ Public .false. .false. + () ), _lfortran_sacosh: (Function @@ -5003,6 +5065,7 @@ Public .false. .false. + () ), _lfortran_sasin: (Function @@ -5063,6 +5126,7 @@ Public .false. .false. + () ), _lfortran_sasinh: (Function @@ -5123,6 +5187,7 @@ Public .false. .false. + () ), _lfortran_satan: (Function @@ -5183,6 +5248,7 @@ Public .false. .false. + () ), _lfortran_satanh: (Function @@ -5243,6 +5309,7 @@ Public .false. .false. + () ), _lfortran_scos: (Function @@ -5303,6 +5370,7 @@ Public .false. .false. + () ), _lfortran_scosh: (Function @@ -5363,6 +5431,7 @@ Public .false. .false. + () ), _lfortran_sexp: (Function @@ -5423,6 +5492,7 @@ Public .false. .false. + () ), _lfortran_slog: (Function @@ -5483,6 +5553,7 @@ Public .false. .false. + () ), _lfortran_slog10: (Function @@ -5543,6 +5614,7 @@ Public .false. .false. + () ), _lfortran_ssin: (Function @@ -5603,6 +5675,7 @@ Public .false. .false. + () ), _lfortran_ssinh: (Function @@ -5663,6 +5736,7 @@ Public .false. .false. + () ), _lfortran_stan: (Function @@ -5723,6 +5797,7 @@ Public .false. .false. + () ), _lfortran_stanh: (Function @@ -5783,6 +5858,7 @@ Public .false. .false. + () ), arccos: (GenericProcedure diff --git a/tests/reference/c-bindc_06-a30d20f.json b/tests/reference/c-bindc_06-a30d20f.json new file mode 100644 index 0000000000..a364b99c3c --- /dev/null +++ b/tests/reference/c-bindc_06-a30d20f.json @@ -0,0 +1,13 @@ +{ + "basename": "c-bindc_06-a30d20f", + "cmd": "lpython --no-color --show-c {infile}", + "infile": "tests/../integration_tests/bindc_06.py", + "infile_hash": "f611dfc06ff7aa56b20ee2cea505d1c7f2f87588cc9b212f2674bd51", + "outfile": null, + "outfile_hash": null, + "stdout": "c-bindc_06-a30d20f.stdout", + "stdout_hash": "86ef63a009653d61445aaedce780f9de82a6fd798fb5270c14efb421", + "stderr": null, + "stderr_hash": null, + "returncode": 0 +} \ No newline at end of file diff --git a/tests/reference/c-bindc_06-a30d20f.stdout b/tests/reference/c-bindc_06-a30d20f.stdout new file mode 100644 index 0000000000..73db8be050 --- /dev/null +++ b/tests/reference/c-bindc_06-a30d20f.stdout @@ -0,0 +1,175 @@ +#include +#include +#include "bindc_06b.h" + +#include +#include +#include +#include +#include + +#define ASSERT(cond) \ + { \ + if (!(cond)) { \ + printf("%s%s", "ASSERT failed: ", __FILE__); \ + printf("%s%s", "\nfunction ", __func__); \ + printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \ + printf("%s%s", #cond, "\n"); \ + exit(1); \ + } \ + } +#define ASSERT_MSG(cond, msg) \ + { \ + if (!(cond)) { \ + printf("%s%s", "ASSERT failed: ", __FILE__); \ + printf("%s%s", "\nfunction ", __func__); \ + printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \ + printf("%s%s", #cond, "\n"); \ + printf("%s", "ERROR MESSAGE:\n"); \ + printf("%s%s", msg, "\n"); \ + exit(1); \ + } \ + } + + +struct dimension_descriptor +{ + int32_t lower_bound, length; +}; +struct CompareOperator { + int32_t op_code; + char * op_name; +}; + + +struct i32 +{ + int32_t *data; + struct dimension_descriptor dims[32]; + int32_t n_dims; + bool is_allocated; +}; + + +struct r64 +{ + double *data; + struct dimension_descriptor dims[32]; + int32_t n_dims; + bool is_allocated; +}; + + +// Implementations +void test_arrays() +{ + struct i32 array1_value; + struct i32* array1 = &array1_value; + int32_t array1_data[40]; + array1->data = array1_data; + array1->n_dims = 1; + array1->dims[0].lower_bound = 0; + array1->dims[0].length = 40; + struct r64 array2_value; + struct r64* array2 = &array2_value; + double array2_data[40]; + array2->data = array2_data; + array2->n_dims = 1; + array2->dims[0].lower_bound = 0; + array2->dims[0].length = 40; + struct CompareOperator compare_operator_value; + struct CompareOperator* compare_operator = &compare_operator_value; + compare_operator->op_name = NULL; + int32_t i; + bool is_small; + compare_operator->op_code = 0; + _lfortran_strcpy(&compare_operator->op_name, "<"); + for (i=0; i<=40 - 1; i++) { + array1->data[(i - array1->dims[0].lower_bound)] = i + 1; + array2->data[(i - array2->dims[0].lower_bound)] = (double)(2*i + 1); + } + is_small = true; + for (i=0; i<=40 - 1; i++) { + is_small = is_small && (bool)(compare_array_element(array1->data[(i - array1->dims[0].lower_bound)], array2->data[(i - array2->dims[0].lower_bound)], compare_operator->op_code)); + } + printf("%d\n", is_small); + ASSERT(is_small == true); +} + +void _lpython_main_program() +{ + test_arrays(); +} + +float _lfortran_caimag(float complex x); + +double _lfortran_zaimag(double complex x); + +float pi_32 = 3.14159265358979312e+00; +double pi_64 = 3.14159265358979312e+00; +double _lfortran_dacos(double x); + +double _lfortran_dacosh(double x); + +double _lfortran_dasin(double x); + +double _lfortran_dasinh(double x); + +double _lfortran_datan(double x); + +double _lfortran_datanh(double x); + +double _lfortran_dcos(double x); + +double _lfortran_dcosh(double x); + +double _lfortran_dexp(double x); + +double _lfortran_dlog(double x); + +double _lfortran_dlog10(double x); + +double _lfortran_dsin(double x); + +double _lfortran_dsinh(double x); + +double _lfortran_dtan(double x); + +double _lfortran_dtanh(double x); + +float _lfortran_sacos(float x); + +float _lfortran_sacosh(float x); + +float _lfortran_sasin(float x); + +float _lfortran_sasinh(float x); + +float _lfortran_satan(float x); + +float _lfortran_satanh(float x); + +float _lfortran_scos(float x); + +float _lfortran_scosh(float x); + +float _lfortran_sexp(float x); + +float _lfortran_slog(float x); + +float _lfortran_slog10(float x); + +float _lfortran_ssin(float x); + +float _lfortran_ssinh(float x); + +float _lfortran_stan(float x); + +float _lfortran_stanh(float x); + +int main(int argc, char* argv[]) +{ + _lpython_set_argv(argc, argv); + _lpython_main_program(); + return 0; +} diff --git a/tests/reference/pass_inline_function_calls-func_inline_01-6cf8821.json b/tests/reference/pass_inline_function_calls-func_inline_01-6cf8821.json index 1bbd30b8f1..67e4329c18 100644 --- a/tests/reference/pass_inline_function_calls-func_inline_01-6cf8821.json +++ b/tests/reference/pass_inline_function_calls-func_inline_01-6cf8821.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "pass_inline_function_calls-func_inline_01-6cf8821.stdout", - "stdout_hash": "92df10d2a4abe7ffea5dd60c8a9a711888fe56209f29749cf72b95dc", + "stdout_hash": "96196aa6c10b49da2e9ec4e5ac6644369670c34b42422f1bca1626e2", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/pass_inline_function_calls-func_inline_01-6cf8821.stdout b/tests/reference/pass_inline_function_calls-func_inline_01-6cf8821.stdout index ec1df2c8d9..8f1678fde7 100644 --- a/tests/reference/pass_inline_function_calls-func_inline_01-6cf8821.stdout +++ b/tests/reference/pass_inline_function_calls-func_inline_01-6cf8821.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), fib: (Function @@ -170,6 +171,7 @@ Public .false. .false. + () ), main: (Function @@ -389,6 +391,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/reference/pass_loop_vectorise-vec_01-fdf30b1.json b/tests/reference/pass_loop_vectorise-vec_01-fdf30b1.json index 9893eaf0b4..342d9935f2 100644 --- a/tests/reference/pass_loop_vectorise-vec_01-fdf30b1.json +++ b/tests/reference/pass_loop_vectorise-vec_01-fdf30b1.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "pass_loop_vectorise-vec_01-fdf30b1.stdout", - "stdout_hash": "b04e7825d66ac751026afe0cee29ebec459ec521c363571902537dbf", + "stdout_hash": "7b0e57ce973a20caf244484503b638533da5291aaf5341b61b35cbbb", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/pass_loop_vectorise-vec_01-fdf30b1.stdout b/tests/reference/pass_loop_vectorise-vec_01-fdf30b1.stdout index 0022e5839b..a272680874 100644 --- a/tests/reference/pass_loop_vectorise-vec_01-fdf30b1.stdout +++ b/tests/reference/pass_loop_vectorise-vec_01-fdf30b1.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), loop_vec: (Function @@ -301,6 +302,7 @@ Public .false. .false. + () ) }) loop_vec @@ -424,6 +426,7 @@ Public .false. .false. + () ) }) _global_symbols @@ -534,6 +537,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arccosh: (Function @@ -606,6 +610,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsin: (Function @@ -678,6 +683,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arcsinh: (Function @@ -750,6 +756,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctan: (Function @@ -822,6 +829,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__arctanh: (Function @@ -894,6 +902,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__ceil: (Function @@ -1046,6 +1055,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cos: (Function @@ -1118,6 +1128,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__cosh: (Function @@ -1190,6 +1201,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__degrees: (Function @@ -1270,6 +1282,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__exp: (Function @@ -1342,6 +1355,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__floor: (Function @@ -1494,6 +1508,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log: (Function @@ -1566,6 +1581,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log10: (Function @@ -1638,6 +1654,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__log2: (Function @@ -1726,6 +1743,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__mod: (Function @@ -1862,6 +1880,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__radians: (Function @@ -1942,6 +1961,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sin: (Function @@ -2014,6 +2034,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sinh: (Function @@ -2086,6 +2107,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__sqrt: (Function @@ -2182,6 +2204,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tan: (Function @@ -2254,6 +2277,7 @@ Public .false. .false. + () ), __lpython_overloaded_0__tanh: (Function @@ -2326,6 +2350,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccos: (Function @@ -2398,6 +2423,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arccosh: (Function @@ -2470,6 +2496,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsin: (Function @@ -2542,6 +2569,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arcsinh: (Function @@ -2614,6 +2642,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctan: (Function @@ -2686,6 +2715,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__arctanh: (Function @@ -2758,6 +2788,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__ceil: (Function @@ -2903,6 +2934,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cos: (Function @@ -2975,6 +3007,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__cosh: (Function @@ -3047,6 +3080,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__degrees: (Function @@ -3132,6 +3166,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__exp: (Function @@ -3204,6 +3239,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__floor: (Function @@ -3349,6 +3385,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log: (Function @@ -3421,6 +3458,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log10: (Function @@ -3493,6 +3531,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__log2: (Function @@ -3589,6 +3628,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__mod: (Function @@ -3715,6 +3755,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__radians: (Function @@ -3800,6 +3841,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sin: (Function @@ -3872,6 +3914,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sinh: (Function @@ -3944,6 +3987,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__sqrt: (Function @@ -4048,6 +4092,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tan: (Function @@ -4120,6 +4165,7 @@ Public .false. .false. + () ), __lpython_overloaded_1__tanh: (Function @@ -4192,6 +4238,7 @@ Public .false. .false. + () ), _lfortran_dacos: (Function @@ -4252,6 +4299,7 @@ Public .false. .false. + () ), _lfortran_dacosh: (Function @@ -4312,6 +4360,7 @@ Public .false. .false. + () ), _lfortran_dasin: (Function @@ -4372,6 +4421,7 @@ Public .false. .false. + () ), _lfortran_dasinh: (Function @@ -4432,6 +4482,7 @@ Public .false. .false. + () ), _lfortran_datan: (Function @@ -4492,6 +4543,7 @@ Public .false. .false. + () ), _lfortran_datanh: (Function @@ -4552,6 +4604,7 @@ Public .false. .false. + () ), _lfortran_dcos: (Function @@ -4612,6 +4665,7 @@ Public .false. .false. + () ), _lfortran_dcosh: (Function @@ -4672,6 +4726,7 @@ Public .false. .false. + () ), _lfortran_dexp: (Function @@ -4732,6 +4787,7 @@ Public .false. .false. + () ), _lfortran_dlog: (Function @@ -4792,6 +4848,7 @@ Public .false. .false. + () ), _lfortran_dlog10: (Function @@ -4852,6 +4909,7 @@ Public .false. .false. + () ), _lfortran_dsin: (Function @@ -4912,6 +4970,7 @@ Public .false. .false. + () ), _lfortran_dsinh: (Function @@ -4972,6 +5031,7 @@ Public .false. .false. + () ), _lfortran_dtan: (Function @@ -5032,6 +5092,7 @@ Public .false. .false. + () ), _lfortran_dtanh: (Function @@ -5092,6 +5153,7 @@ Public .false. .false. + () ), _lfortran_sacos: (Function @@ -5152,6 +5214,7 @@ Public .false. .false. + () ), _lfortran_sacosh: (Function @@ -5212,6 +5275,7 @@ Public .false. .false. + () ), _lfortran_sasin: (Function @@ -5272,6 +5336,7 @@ Public .false. .false. + () ), _lfortran_sasinh: (Function @@ -5332,6 +5397,7 @@ Public .false. .false. + () ), _lfortran_satan: (Function @@ -5392,6 +5458,7 @@ Public .false. .false. + () ), _lfortran_satanh: (Function @@ -5452,6 +5519,7 @@ Public .false. .false. + () ), _lfortran_scos: (Function @@ -5512,6 +5580,7 @@ Public .false. .false. + () ), _lfortran_scosh: (Function @@ -5572,6 +5641,7 @@ Public .false. .false. + () ), _lfortran_sexp: (Function @@ -5632,6 +5702,7 @@ Public .false. .false. + () ), _lfortran_slog: (Function @@ -5692,6 +5763,7 @@ Public .false. .false. + () ), _lfortran_slog10: (Function @@ -5752,6 +5824,7 @@ Public .false. .false. + () ), _lfortran_ssin: (Function @@ -5812,6 +5885,7 @@ Public .false. .false. + () ), _lfortran_ssinh: (Function @@ -5872,6 +5946,7 @@ Public .false. .false. + () ), _lfortran_stan: (Function @@ -5932,6 +6007,7 @@ Public .false. .false. + () ), _lfortran_stanh: (Function @@ -5992,6 +6068,7 @@ Public .false. .false. + () ), arccos: (GenericProcedure diff --git a/tests/reference/pass_print_list_tuple-print_02-1bcc4ec.json b/tests/reference/pass_print_list_tuple-print_02-1bcc4ec.json index 37ea2b9036..bbad69c6a7 100644 --- a/tests/reference/pass_print_list_tuple-print_02-1bcc4ec.json +++ b/tests/reference/pass_print_list_tuple-print_02-1bcc4ec.json @@ -6,7 +6,7 @@ "outfile": null, "outfile_hash": null, "stdout": "pass_print_list_tuple-print_02-1bcc4ec.stdout", - "stdout_hash": "59ccd34de351f00681ac3598a72bf66b3ba239984e565dae80d662c3", + "stdout_hash": "632afad0dfd3439278b02e3f6f3219008bd43628fcc5a9720ecad3a0", "stderr": null, "stderr_hash": null, "returncode": 0 diff --git a/tests/reference/pass_print_list_tuple-print_02-1bcc4ec.stdout b/tests/reference/pass_print_list_tuple-print_02-1bcc4ec.stdout index a5c2e48a79..7a8ef02dcf 100644 --- a/tests/reference/pass_print_list_tuple-print_02-1bcc4ec.stdout +++ b/tests/reference/pass_print_list_tuple-print_02-1bcc4ec.stdout @@ -42,6 +42,7 @@ Public .false. .false. + () ), check: (Function @@ -99,6 +100,7 @@ Public .false. .false. + () ), f: (Function @@ -2515,6 +2517,7 @@ Public .false. .false. + () ), test_nested_lists: (Function @@ -4437,6 +4440,7 @@ Public .false. .false. + () ), test_nested_lists2: (Function @@ -7285,6 +7289,7 @@ Public .false. .false. + () ), test_print_list_tuple: (Function @@ -8661,6 +8666,7 @@ Public .false. .false. + () ) }) _global_symbols diff --git a/tests/tests.toml b/tests/tests.toml index 5576124f83..bea12f2519 100644 --- a/tests/tests.toml +++ b/tests/tests.toml @@ -345,6 +345,10 @@ llvm = true filename = "../integration_tests/bindc_02.py" asr = true +[[test]] +filename = "../integration_tests/bindc_06.py" +c = true + [[test]] filename = "../integration_tests/test_builtin_abs.py" asr = true