1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Use td::realpath and add re-inclusion tests

This commit is contained in:
starlightduck 2022-05-12 18:57:03 +03:00
parent 9356a16b84
commit eb35cf653a
4 changed files with 8 additions and 4 deletions

View file

@ -12,3 +12,5 @@ global int i;
sub2();
i = 9;
}
#include "../test/i1sub2.fc";

View file

@ -1,6 +1,8 @@
;; DO NOT COMPILE DIRECTLY!
;; Compile i1.fc
#include "i1sub1.fc";
() sub1() impure {
i = 1;
}

View file

@ -1,6 +1,8 @@
;; DO NOT COMPILE DIRECTLY!
;; Compile i1.fc
#include "./i1sub1.fc";
() sub2() impure {
sub1();
sub0();