mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
194 B
Solidity
12 lines
194 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract C {
|
|
uint x = 2;
|
|
constructor () public {
|
|
assert(x == 2);
|
|
assert(x == 3);
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 4661: (104-118): Assertion violation happens here
|