solidity/test/libsolidity/syntaxTests/immutable/loop_initialized.sol
2023-07-14 15:29:32 +02:00

8 lines
103 B
Solidity

contract C {
uint immutable x;
constructor() {
while (true)
x = 1;
}
}