solidity/test/libsolidity/smtCheckerTests/types/bool_simple_2.sol

9 lines
185 B
Solidity
Raw Normal View History

pragma experimental SMTChecker;
contract C {
function f(bool x, bool y) public pure {
assert(x == y);
}
}
// ----
// Warning: (98-112): Assertion violation happens here