2020-11-05 13:25:15 +00:00
|
|
|
contract D {
|
|
|
|
function f() public pure {
|
|
|
|
assert(1000000000000000000 wei == 1 ether);
|
|
|
|
assert(100000000000000000 wei == 1 ether);
|
|
|
|
assert(1000000000 wei == 1 gwei);
|
|
|
|
assert(100000000 wei == 1 gwei);
|
|
|
|
assert(1000000000 gwei == 1 ether);
|
|
|
|
assert(100000000 gwei == 1 ether);
|
|
|
|
}
|
|
|
|
}
|
2021-03-31 15:11:54 +00:00
|
|
|
// ====
|
|
|
|
// SMTEngine: all
|
2020-11-05 13:25:15 +00:00
|
|
|
// ----
|
2021-03-31 15:11:54 +00:00
|
|
|
// Warning 6328: (89-130): CHC: Assertion violation happens here.\nCounterexample:\n\n\nTransaction trace:\nD.constructor()\nD.f()
|
|
|
|
// Warning 6328: (170-201): CHC: Assertion violation happens here.\nCounterexample:\n\n\nTransaction trace:\nD.constructor()\nD.f()
|
|
|
|
// Warning 6328: (243-276): CHC: Assertion violation happens here.\nCounterexample:\n\n\nTransaction trace:\nD.constructor()\nD.f()
|