Add a test case
This commit is contained in:
parent
628046c007
commit
3ce4e7360c
@ -161,6 +161,7 @@ compilable_contracts() ->
|
||||
"state_handling",
|
||||
"events",
|
||||
"include",
|
||||
"relative_include",
|
||||
"basic_auth",
|
||||
"basic_auth_tx",
|
||||
"bitcoin_auth",
|
||||
|
4
test/contracts/dir1/bar.aes
Normal file
4
test/contracts/dir1/bar.aes
Normal file
@ -0,0 +1,4 @@
|
||||
include "../dir2/baz.aes"
|
||||
namespace D =
|
||||
function g() = E.h()
|
||||
|
3
test/contracts/dir2/baz.aes
Normal file
3
test/contracts/dir2/baz.aes
Normal file
@ -0,0 +1,3 @@
|
||||
namespace E =
|
||||
function h() = 42
|
||||
|
3
test/contracts/relative_include.aes
Normal file
3
test/contracts/relative_include.aes
Normal file
@ -0,0 +1,3 @@
|
||||
include "./dir1/bar.aes"
|
||||
contract C =
|
||||
entrypoint f() = D.g()
|
Loading…
x
Reference in New Issue
Block a user