leo/disabled_tests/compiler/circuits/self_circuit.leo

16 lines
202 B
Plaintext

/*
namespace: Compile
expectation: Fail
*/
circuit Foo {
// static is deprecated
static function new() -> Self {
return Self { };
}
}
function main() {
const a = Foo::new();
}