solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/empty_function_name.sol

10 lines
159 B
Solidity

contract C {
function f() public pure {
assembly {
function (a, b) {}
}
}
}
// ----
// ParserError: (72-73): Expected identifier but got '('