solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/empty_function_name.sol
2018-10-24 14:29:33 +02:00

11 lines
209 B
Solidity

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