Skip to content

Commit 937af7d

Browse files
Leo Altekpyron
authored andcommitted
Fix SMT test
1 parent fe0d027 commit 937af7d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

test/libsolidity/smtCheckerTests/external_calls/external_call_from_constructor_1.sol

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ contract C {
1414
}
1515
// ====
1616
// SMTEngine: all
17+
// SMTIgnoreCex: yes
1718
// ----
18-
// Warning 6328: (69-85): CHC: Assertion violation happens here.\nCounterexample:\n\n_x = 100\n = 0\n\nTransaction trace:\nState.constructor()\nState.f(100)
19-
// 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()
19+
// Warning 6328: (69-85): CHC: Assertion violation happens here.
20+
// Warning 6328: (177-191): CHC: Assertion violation happens here.

test/libsolidity/smtCheckerTests/external_calls/external_call_from_constructor_reentrancy_1.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ contract C {
1111
assert(a == 2); // should fail
1212
}
1313
}
14+
// ====
15+
// SMTIgnoreCex: yes
1416
// ----
15-
// Warning 6328: (253-267): CHC: Assertion violation happens here.\nCounterexample:\nx = 0\nd = 0\na = 3\n\nTransaction trace:\nC.constructor(0)
17+
// Warning 6328: (253-267): CHC: Assertion violation happens here.

0 commit comments

Comments
 (0)