leo/tests/compiler/structs/struct_function_namespace_conflict_fail.leo
2022-10-05 16:53:49 -07:00

17 lines
201 B
Plaintext

/*
namespace: Compile
expectation: Fail
*/
program test.aleo {
struct Foo {
x: u8;
}
function Foo() {}
function main(y: bool) -> bool {
return y;
}
}