mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
157 B
Solidity
6 lines
157 B
Solidity
contract C {
|
|
address constant x = msg.sender;
|
|
}
|
|
// ----
|
|
// TypeError 8349: (38-48): Initial value for constant variable has to be compile-time constant.
|