solidity/test/libsolidity/syntaxTests/inlineAssembly/function_without_call.sol
2018-07-25 10:45:31 +01:00

12 lines
169 B
Solidity

contract C {
function f() public pure {
assembly {
function k() {}
k
}
}
}
// ----
// TypeError: (86-87): Function k used without being called.