Files
codeql/cpp/ql/test/successor-tests/whilestmt/whilestmt03.ql
2018-08-02 17:53:23 +01:00

10 lines
185 B
Plaintext

/**
* @name whilestmt03
* @description No while condition has more than two successors.
*/
import cpp
from WhileStmt ws
where count(ws.getCondition().getASuccessor()) > 2
select ws