sophia/test/contracts/bad_protected_call.aes

7 lines
147 B
Plaintext

contract interface Remote =
entrypoint id : int => int
contract ProtectedCall =
entrypoint bad(r : Remote) =
r.id(protected = 0 == 1, 18)