mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update old tests
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
pragma abicoder v1;
|
||||
pragma experimental SMTChecker;
|
||||
|
||||
struct Item {
|
||||
uint x;
|
||||
uint y;
|
||||
@@ -20,5 +18,7 @@ contract D {
|
||||
assert(b == 0); // should fail
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// SMTEngine: all
|
||||
// ----
|
||||
// Warning 6328: (355-369): CHC: Assertion violation happens here.\nCounterexample:\nitems = [{x: 42, y: 43, arr: [0]}]\ntmp = [0]\na = 42\nb = 43\n\nTransaction trace:\nD.constructor()\nState: items = []\nD.test()
|
||||
// Warning 6328: (322-336): CHC: Assertion violation happens here.\nCounterexample:\nitems = [{x: 42, y: 43, arr: [0]}]\ntmp = [0]\na = 42\nb = 43\n\nTransaction trace:\nD.constructor()\nState: items = []\nD.test()
|
||||
|
||||
Reference in New Issue
Block a user