File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
test/libsolidity/smtCheckerTests/operators Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,13 @@ contract C {
3
3
require (b.length == 30 );
4
4
require (b[10 ] == 0xff );
5
5
require (b[b.length - 1 ] == 0xaa );
6
- assert (bytes (b[10 :]).length == 20 );
7
- assert (bytes (b[10 :])[0 ] == 0xff );
6
+ assert (bytes (b[10 :]).length == 20 ); // should hold
7
+ // Disabled because of Spacer's nondeterminism.
8
+ //assert(bytes(b[10:])[0] == 0xff); // should hold
8
9
//assert(bytes(b[10:])[5] == 0xff); // Removed because of Spacer's nondeterminism
9
10
//assert(bytes(b[10:])[19] == 0xaa); // Removed because of Spacer nondeterminism
10
11
}
11
12
}
12
13
// ====
13
14
// SMTEngine: all
14
15
// ----
15
- // Warning 6328: (188-220): CHC: Assertion violation might happen here.
16
- // Warning 4661: (188-220): BMC: Assertion violation happens here.
You can’t perform that action at this time.
0 commit comments