solidity/test/libyul/yulSyntaxTests/assignment_of_function.yul
2020-11-05 10:30:09 +00:00

7 lines
113 B
Plaintext

{
function f() {}
let x := f
}
// ----
// TypeError 6041: (35-36): Function f used without being called.