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

8 lines
222 B
Solidity

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