mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
247 B
Solidity
12 lines
247 B
Solidity
contract C {
|
|
uint x = 2;
|
|
constructor () {
|
|
assert(x == 2);
|
|
assert(x == 3);
|
|
}
|
|
}
|
|
// ====
|
|
// SMTEngine: all
|
|
// ----
|
|
// Warning 6328: (64-78): CHC: Assertion violation happens here.\nCounterexample:\nx = 2\n\nTransaction trace:\nC.constructor()
|