leo/tests/compiler/aliases/duplicate_name_fail.leo

13 lines
155 B
Plaintext
Raw Normal View History

/*
namespace: Compile
expectation: Fail
input_file:
- inputs/dummy.in
*/
type int = u32;
type int = u8;
function main(y: bool) -> bool {
return y;
}