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

12 lines
162 B
Solidity
Raw Normal View History

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