Skip to content

Commit

Permalink
C: Complete all generic tests (#1574)
Browse files Browse the repository at this point in the history
* Fix a typo

* C: Enable test
  • Loading branch information
Smit-create committed Mar 13, 2023
1 parent 3876018 commit 7f2e744
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion integration_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ RUN(NAME str_to_list_cast LABELS cpython llvm c)
RUN(NAME generics_01 LABELS cpython llvm c)
RUN(NAME generics_02 LABELS cpython llvm c)
RUN(NAME generics_array_01 LABELS cpython llvm c)
RUN(NAME generics_array_02 LABELS cpython llvm)
RUN(NAME generics_array_02 LABELS cpython llvm c)
RUN(NAME generics_array_03 LABELS cpython llvm c)
RUN(NAME generics_list_01 LABELS cpython llvm c)
RUN(NAME test_statistics LABELS cpython llvm)
Expand Down
1 change: 0 additions & 1 deletion src/libasr/codegen/asr_to_c_cpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@ R"(#include <stdio.h>
bool has_typevar = false;
std::string sub = get_function_declaration(x, has_typevar);
if (has_typevar) {
indentation_level -= 1;
src = "";
return;
}
Expand Down

0 comments on commit 7f2e744

Please sign in to comment.