leo/tests/compiler/function/self_fail.leo
2022-10-05 16:53:49 -07:00

11 lines
157 B
Plaintext

/*
namespace: Compile
expectation: Fail
*/
program test.aleo {
transition matches(addr: address) -> bool {
return self.foo == addr;
}
}