solidity/test/libsolidity/syntaxTests/immutable/double_specifier.sol
2020-04-07 17:30:54 +02:00

8 lines
212 B
Solidity

contract C {
uint immutable immutable x;
uint immutable constant x;
}
// ----
// ParserError: (32-41): Mutability already set to "immutable"
// ParserError: (64-72): Mutability already set to "immutable"