Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cd20408

Browse files
committed
Update references
1 parent db70507 commit cd20408

30 files changed

+15
-360
lines changed

tests/reference/c-bindc_06-a30d20f.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-bindc_06-a30d20f.stdout",
9-
"stdout_hash": "e8983d6fcd2d2c6e975daae9aed736c86c8432adaed965caeef12cba",
9+
"stdout_hash": "1592d4a00bd387b8ee0a53ab5671575310052fc871b4dfca170386fd",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/c-bindc_06-a30d20f.stdout

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

11-
#define ASSERT(cond) \
12-
{ \
13-
if (!(cond)) { \
14-
printf("%s%s", "ASSERT failed: ", __FILE__); \
15-
printf("%s%s", "\nfunction ", __func__); \
16-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
17-
printf("%s%s", #cond, "\n"); \
18-
exit(1); \
19-
} \
20-
}
21-
#define ASSERT_MSG(cond, msg) \
22-
{ \
23-
if (!(cond)) { \
24-
printf("%s%s", "ASSERT failed: ", __FILE__); \
25-
printf("%s%s", "\nfunction ", __func__); \
26-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
27-
printf("%s%s", #cond, "\n"); \
28-
printf("%s", "ERROR MESSAGE:\n"); \
29-
printf("%s%s", msg, "\n"); \
30-
exit(1); \
31-
} \
32-
}
33-
3411

3512
struct dimension_descriptor
3613
{

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": "79bf04c21b0db44755fa1828851ba74ce803ba1748da76e0144e2908",
9+
"stdout_hash": "6ff32cb0aeb8edf4f78af311a25512fc6f8f708e682ce94137f160ee",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/c-c_interop1-e215531.stdout

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

9-
#define ASSERT(cond) \
10-
{ \
11-
if (!(cond)) { \
12-
printf("%s%s", "ASSERT failed: ", __FILE__); \
13-
printf("%s%s", "\nfunction ", __func__); \
14-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
15-
printf("%s%s", #cond, "\n"); \
16-
exit(1); \
17-
} \
18-
}
19-
#define ASSERT_MSG(cond, msg) \
20-
{ \
21-
if (!(cond)) { \
22-
printf("%s%s", "ASSERT failed: ", __FILE__); \
23-
printf("%s%s", "\nfunction ", __func__); \
24-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
25-
printf("%s%s", #cond, "\n"); \
26-
printf("%s", "ERROR MESSAGE:\n"); \
27-
printf("%s%s", msg, "\n"); \
28-
exit(1); \
29-
} \
30-
}
31-
329

3310
struct dimension_descriptor
3411
{

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": "c5afb46e3538eeeff7e1b50eac49c6f2fa57468bb40d278b207ee60d",
9+
"stdout_hash": "6ec5c40f07c1fb2fbfad9c3ff031e50cf077c0ad2412c7be962d9e93",
1010
"stderr": "c-expr7-bb2692a.stderr",
1111
"stderr_hash": "6e9790ac88db1a9ead8f64a91ba8a6605de67167037908a74b77be0c",
1212
"returncode": 0

tests/reference/c-expr7-bb2692a.stdout

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

11-
#define ASSERT(cond) \
12-
{ \
13-
if (!(cond)) { \
14-
printf("%s%s", "ASSERT failed: ", __FILE__); \
15-
printf("%s%s", "\nfunction ", __func__); \
16-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
17-
printf("%s%s", #cond, "\n"); \
18-
exit(1); \
19-
} \
20-
}
21-
#define ASSERT_MSG(cond, msg) \
22-
{ \
23-
if (!(cond)) { \
24-
printf("%s%s", "ASSERT failed: ", __FILE__); \
25-
printf("%s%s", "\nfunction ", __func__); \
26-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
27-
printf("%s%s", #cond, "\n"); \
28-
printf("%s", "ERROR MESSAGE:\n"); \
29-
printf("%s%s", msg, "\n"); \
30-
exit(1); \
31-
} \
32-
}
33-
3411

3512
struct dimension_descriptor
3613
{

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": "f7ff3e7ee6518de7ff6bc41aa1ab242c7dbf9fca4482e5de47209c42",
9+
"stdout_hash": "54d2c8dc7b28702c7907cd829a3777bdc4f2cf13dc597113a0074839",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

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

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

9-
#define ASSERT(cond) \
10-
{ \
11-
if (!(cond)) { \
12-
printf("%s%s", "ASSERT failed: ", __FILE__); \
13-
printf("%s%s", "\nfunction ", __func__); \
14-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
15-
printf("%s%s", #cond, "\n"); \
16-
exit(1); \
17-
} \
18-
}
19-
#define ASSERT_MSG(cond, msg) \
20-
{ \
21-
if (!(cond)) { \
22-
printf("%s%s", "ASSERT failed: ", __FILE__); \
23-
printf("%s%s", "\nfunction ", __func__); \
24-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
25-
printf("%s%s", #cond, "\n"); \
26-
printf("%s", "ERROR MESSAGE:\n"); \
27-
printf("%s%s", msg, "\n"); \
28-
exit(1); \
29-
} \
30-
}
31-
329

3310
struct dimension_descriptor
3411
{

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": "3ff86fbef1a6ada1ca91694b6cf50b08d58abb9f3d32672698655b45",
9+
"stdout_hash": "990486bcfab642985e506a1ee8ff20218e233b0d19035e8acf2d407c",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/c-expr_11-c452314.stdout

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

9-
#define ASSERT(cond) \
10-
{ \
11-
if (!(cond)) { \
12-
printf("%s%s", "ASSERT failed: ", __FILE__); \
13-
printf("%s%s", "\nfunction ", __func__); \
14-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
15-
printf("%s%s", #cond, "\n"); \
16-
exit(1); \
17-
} \
18-
}
19-
#define ASSERT_MSG(cond, msg) \
20-
{ \
21-
if (!(cond)) { \
22-
printf("%s%s", "ASSERT failed: ", __FILE__); \
23-
printf("%s%s", "\nfunction ", __func__); \
24-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
25-
printf("%s%s", #cond, "\n"); \
26-
printf("%s", "ERROR MESSAGE:\n"); \
27-
printf("%s%s", msg, "\n"); \
28-
exit(1); \
29-
} \
30-
}
31-
329

3310
struct dimension_descriptor
3411
{

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": "4a67164684f646b94101df4dba378f02ee7585d7087093459a791c39",
9+
"stdout_hash": "eb0832038676f31ac362e2c3b4709d5f1b9a9be2ca9c5b13d1a29613",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

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

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

9-
#define ASSERT(cond) \
10-
{ \
11-
if (!(cond)) { \
12-
printf("%s%s", "ASSERT failed: ", __FILE__); \
13-
printf("%s%s", "\nfunction ", __func__); \
14-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
15-
printf("%s%s", #cond, "\n"); \
16-
exit(1); \
17-
} \
18-
}
19-
#define ASSERT_MSG(cond, msg) \
20-
{ \
21-
if (!(cond)) { \
22-
printf("%s%s", "ASSERT failed: ", __FILE__); \
23-
printf("%s%s", "\nfunction ", __func__); \
24-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
25-
printf("%s%s", #cond, "\n"); \
26-
printf("%s", "ERROR MESSAGE:\n"); \
27-
printf("%s%s", msg, "\n"); \
28-
exit(1); \
29-
} \
30-
}
31-
329

3310
struct dimension_descriptor
3411
{

tests/reference/c-func_static_01-fc146ec.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-func_static_01-fc146ec.stdout",
9-
"stdout_hash": "c3796deea978e5a6066da91a0e89867135b68a3c89059fcf8996b087",
9+
"stdout_hash": "73b3d25f714c83fd772abb3012b472ef35be68e4a423d8b598fd0e7c",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/c-func_static_01-fc146ec.stdout

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

9-
#define ASSERT(cond) \
10-
{ \
11-
if (!(cond)) { \
12-
printf("%s%s", "ASSERT failed: ", __FILE__); \
13-
printf("%s%s", "\nfunction ", __func__); \
14-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
15-
printf("%s%s", #cond, "\n"); \
16-
exit(1); \
17-
} \
18-
}
19-
#define ASSERT_MSG(cond, msg) \
20-
{ \
21-
if (!(cond)) { \
22-
printf("%s%s", "ASSERT failed: ", __FILE__); \
23-
printf("%s%s", "\nfunction ", __func__); \
24-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
25-
printf("%s%s", #cond, "\n"); \
26-
printf("%s", "ERROR MESSAGE:\n"); \
27-
printf("%s%s", msg, "\n"); \
28-
exit(1); \
29-
} \
30-
}
31-
329

3310
struct dimension_descriptor
3411
{

tests/reference/c-import_order_01-3ebf3c3.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-import_order_01-3ebf3c3.stdout",
9-
"stdout_hash": "d844d0d693ba8a9867f29b17de6f66c99f2096b7a14efeb4c5d698d2",
9+
"stdout_hash": "b65b2f95b190f9db269e1c9079c79c906bd2847a8b481089230cc2bd",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/c-import_order_01-3ebf3c3.stdout

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

9-
#define ASSERT(cond) \
10-
{ \
11-
if (!(cond)) { \
12-
printf("%s%s", "ASSERT failed: ", __FILE__); \
13-
printf("%s%s", "\nfunction ", __func__); \
14-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
15-
printf("%s%s", #cond, "\n"); \
16-
exit(1); \
17-
} \
18-
}
19-
#define ASSERT_MSG(cond, msg) \
20-
{ \
21-
if (!(cond)) { \
22-
printf("%s%s", "ASSERT failed: ", __FILE__); \
23-
printf("%s%s", "\nfunction ", __func__); \
24-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
25-
printf("%s%s", #cond, "\n"); \
26-
printf("%s", "ERROR MESSAGE:\n"); \
27-
printf("%s%s", msg, "\n"); \
28-
exit(1); \
29-
} \
30-
}
31-
329

3310
struct dimension_descriptor
3411
{

tests/reference/c-loop1-3e341c7.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-loop1-3e341c7.stdout",
9-
"stdout_hash": "a41b600614c4f3501baff087d84588b97238af4f25b851874b133522",
9+
"stdout_hash": "3e0f31f16e81f3ced15b7f243afa362d827e2d3fd65ba945036eb65f",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/c-loop1-3e341c7.stdout

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

9-
#define ASSERT(cond) \
10-
{ \
11-
if (!(cond)) { \
12-
printf("%s%s", "ASSERT failed: ", __FILE__); \
13-
printf("%s%s", "\nfunction ", __func__); \
14-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
15-
printf("%s%s", #cond, "\n"); \
16-
exit(1); \
17-
} \
18-
}
19-
#define ASSERT_MSG(cond, msg) \
20-
{ \
21-
if (!(cond)) { \
22-
printf("%s%s", "ASSERT failed: ", __FILE__); \
23-
printf("%s%s", "\nfunction ", __func__); \
24-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
25-
printf("%s%s", #cond, "\n"); \
26-
printf("%s", "ERROR MESSAGE:\n"); \
27-
printf("%s%s", msg, "\n"); \
28-
exit(1); \
29-
} \
30-
}
31-
329

3310
struct dimension_descriptor
3411
{

tests/reference/c-loop2-ce7de51.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-loop2-ce7de51.stdout",
9-
"stdout_hash": "93bb1a7a58d577117ba34dd94ee7f8f4edac8a188e5f7fa34b3b3ecf",
9+
"stdout_hash": "721c0279f391240cd904b048287ef14cc32d98c56cc16bcec21812b7",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

0 commit comments

Comments
 (0)