solidity/test/libsolidity/syntaxTests/inlineAssembly/function_without_call.sol
2022-04-01 23:41:18 -05:00

12 lines
171 B
Solidity

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