ligo/src/test/contracts/attributes.religo
2020-03-02 18:01:56 +01:00

19 lines
244 B
Plaintext

[@inline]
let x = 1;
[@inline]
let foo = (a : int) : int => {
[@inline]
let test = 2 + a;
test;
};
[@inline][@other]
let y = 1;
let bar = (b : int) : int => {
[@inline][@foo][@bar]
let test = (z : int) => 2 + b + z;
test (b);
};