solidity/test/libsolidity/syntaxTests/inlineAssembly/function_without_call.sol
2019-10-25 15:01:25 +02:00

12 lines
162 B
Solidity

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