/ tests / tests / compiler / function / helper_function_with_interface.adl
helper_function_with_interface.adl
 1  
 2  program test.alpha {
 3      transition main(public a: u32, b: u32) -> u32 {
 4          let c: u32 = a + b;
 5          return c;
 6      }
 7  
 8      struct Board {
 9         foo: u8,
10      }
11  
12      function win(b: Board, p: u8) -> bool {
13      	return false & true;
14      }
15  }