solidity/test/libsolidity/syntaxTests/immutable/double_specifier.sol

8 lines
212 B
Solidity
Raw Normal View History

2020-02-27 15:13:55 +00:00
contract C {
uint immutable immutable x;
uint immutable constant x;
}
// ----
2020-04-07 09:10:10 +00:00
// ParserError: (32-41): Mutability already set to "immutable"
// ParserError: (64-72): Mutability already set to "immutable"