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

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