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

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