solidity/test/libsolidity/syntaxTests/parsing/variable_definition_in_mapping.sol

8 lines
169 B
Solidity
Raw Normal View History

2018-05-02 19:49:59 +00:00
contract test {
function fun() {
mapping(var=>bytes32) d;
}
}
// ----
// ParserError 1005: (44-47): Expected elementary type name or identifier for mapping key type