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

11 lines
209 B
Solidity
Raw Normal View History

2018-10-24 12:29:33 +00:00
contract C {
function f() public pure {
assembly {
function (a, b) {}
}
}
}
// ----
// ParserError: (72-73): Expected identifier but got '('
// ParserError: (79-80): Expected ';' but got '{'