mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove problematic test
This commit is contained in:
parent
23ee011c56
commit
3fea11e1a9
@ -1,19 +0,0 @@
|
|||||||
pragma experimental SMTChecker;
|
|
||||||
|
|
||||||
contract C {
|
|
||||||
function f(uint8 a, uint8 b) internal pure returns (uint256) {
|
|
||||||
return a >> b;
|
|
||||||
}
|
|
||||||
function t() public pure {
|
|
||||||
assert(f(0x66, 0) == 0x66);
|
|
||||||
// Fails because the above is true.
|
|
||||||
assert(f(0x66, 0) == 0x6);
|
|
||||||
|
|
||||||
assert(f(0x66, 8) == 0);
|
|
||||||
// Fails because the above is true.
|
|
||||||
assert(f(0x66, 8) == 1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// ----
|
|
||||||
// Warning 6328: (240-265): Assertion violation happens here.
|
|
||||||
// Warning 6328: (335-358): Assertion violation happens here.
|
|
Loading…
Reference in New Issue
Block a user