solidity/test/libsolidity/syntaxTests/inlineAssembly/function_without_call.sol

12 lines
167 B
Solidity

contract C {
function f() public pure {
assembly {
function k() {}
k
}
}
}
// ----
// ParserError 6913: (92-93): Call or assignment expected.