Fix SMT test

This commit is contained in:
Leo Alt 2021-08-12 21:48:01 +02:00 committed by Daniel Kirchner
parent fe0d027d45
commit 937af7d722
2 changed files with 6 additions and 3 deletions

View File

@ -14,6 +14,7 @@ contract C {
}
// ====
// SMTEngine: all
// SMTIgnoreCex: yes
// ----
// Warning 6328: (69-85): CHC: Assertion violation happens here.\nCounterexample:\n\n_x = 100\n = 0\n\nTransaction trace:\nState.constructor()\nState.f(100)
// Warning 6328: (177-191): CHC: Assertion violation happens here.\nCounterexample:\ns = 0, z = 0\n\nTransaction trace:\nC.constructor()\nState: s = 0, z = 0\nC.f()
// Warning 6328: (69-85): CHC: Assertion violation happens here.
// Warning 6328: (177-191): CHC: Assertion violation happens here.

View File

@ -11,5 +11,7 @@ contract C {
assert(a == 2); // should fail
}
}
// ====
// SMTIgnoreCex: yes
// ----
// Warning 6328: (253-267): CHC: Assertion violation happens here.\nCounterexample:\nx = 0\nd = 0\na = 3\n\nTransaction trace:\nC.constructor(0)
// Warning 6328: (253-267): CHC: Assertion violation happens here.