aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/functions/functions_trivial_condition_require.sol
blob: e76badf2d6afc6d3a7574b15fa28ba8aa48d540c (plain) (blame)
1
2
3
4
5
6
7
8
pragma experimental SMTChecker;

contract C
{
    function f(bool x) public pure { x = true; require(x); }
}
// ----
// Warning: (98-99): Condition is always true.