solidity/test/libsolidity/syntaxTests/parsing/variable_definition_in_mapping.sol
2018-05-09 14:08:25 +02:00

8 lines
150 B
Solidity

contract test {
function fun() {
mapping(var=>bytes32) d;
}
}
// ----
// ParserError: (44-47): Expected elementary type name for mapping key type