Skip to content

Commit 8ba9d30

Browse files
committed
Update references
1 parent 3ab9e8c commit 8ba9d30

26 files changed

+78
-13
lines changed

tests/reference/c-c_interop1-e215531.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "c-c_interop1-e215531.stdout",
9-
"stdout_hash": "31d7d540adfef1263741e1b9709e4a2a73c6208147d735906dbf233e",
9+
"stdout_hash": "9d9dd1715b625024203f8b4de330a936a806c5e8031ae7b643c23e71",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/c-c_interop1-e215531.stdout

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
#include <lfortran_intrinsics.h>
88

99

10+
11+
1012
// Implementations
1113
double f(double x);
1214

tests/reference/c-expr7-bb2692a.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "c-expr7-bb2692a.stdout",
9-
"stdout_hash": "be3bac9bcf7f1fab11741c22151820f60793d5afc670486e9d0913aa",
9+
"stdout_hash": "11026dff0f543f773698075edb3d690f8a475e8639124f1e1dcaef6a",
1010
"stderr": "c-expr7-bb2692a.stderr",
1111
"stderr_hash": "6e9790ac88db1a9ead8f64a91ba8a6605de67167037908a74b77be0c",
1212
"returncode": 0

tests/reference/c-expr7-bb2692a.stdout

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
#include <string.h>
99
#include <lfortran_intrinsics.h>
1010

11+
void test_pow();
12+
int32_t test_pow_1(int32_t a, int32_t b);
13+
void main0();
14+
void __main____global_statements();
15+
16+
1117

1218
// Implementations
1319
double __lpython_overloaded_0__pow(int32_t x, int32_t y)

tests/reference/c-expr_01-28f449f.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "c-expr_01-28f449f.stdout",
9-
"stdout_hash": "21755da8aacbb21ee5a5229c8f47f7ba40c36d942af84f848e36bd5b",
9+
"stdout_hash": "b9e6df09a73026d76ea9eefed3e2b211476b1ac55956ee8150a4a417",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/c-expr_01-28f449f.stdout

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
#include <string.h>
77
#include <lfortran_intrinsics.h>
88

9+
inline __attribute__((always_inline)) int32_t add(int32_t x, int32_t y);
10+
inline __attribute__((always_inline)) int32_t and_op(int32_t x, int32_t y);
11+
void main0();
12+
void __main____global_statements();
13+
14+
915

1016
// Implementations
1117
inline __attribute__((always_inline)) int32_t add(int32_t x, int32_t y)

tests/reference/c-expr_11-c452314.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "c-expr_11-c452314.stdout",
9-
"stdout_hash": "3566609825322587b3a725aa627c191e47e28835a78f182bb95546ab",
9+
"stdout_hash": "828e55148962eac31cff8246dbf28003a81b9852481aa1e584128ecb",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/c-expr_11-c452314.stdout

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
#include <string.h>
77
#include <lfortran_intrinsics.h>
88

9+
void f();
10+
void __main____global_statements();
11+
12+
913

1014
// Implementations
1115
void f()

tests/reference/c-expr_12-93c7780.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "c-expr_12-93c7780.stdout",
9-
"stdout_hash": "094a6e7284485e456d1ff691266f3ab0400f2893e1e7670fb186cf6b",
9+
"stdout_hash": "4ff750b49402a8f60ae61abdc16289388dfb3230995dda8b75fcd8cd",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/c-expr_12-93c7780.stdout

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ struct i16
1919
bool is_allocated;
2020
};
2121

22+
void g(struct i16* *x, struct i16* y);
23+
void check(struct i16* *ptr);
24+
void f();
25+
void __main____global_statements();
26+
27+
2228

2329
// Implementations
2430
void g(struct i16* *x, struct i16* y)

0 commit comments

Comments
 (0)