solidity/test/libsolidity/syntaxTests/immutable/as_function_param.sol
2020-03-12 17:11:24 +01:00

6 lines
161 B
Solidity

contract C {
function f(uint immutable) public pure {}
}
// ----
// DeclarationError: (28-42): The "immutable" keyword can only be used for state variables.