leo/tests/compiler/circuits/duplicate_name_context.leo
2022-07-06 16:08:29 -07:00

17 lines
225 B
Plaintext

/*
namespace: Compile
expectation: Fail
input_file: input/dummy.in
*/
circuit Bar {
b2: u32
}
function main(y: bool) -> bool {
const Bar: u32 = 66u32;
const k1: Bar = Bar { b2: 30u32 };
return y == true;
}