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

10 lines
186 B
Plaintext

/**
* @name dostmt03
* @description No do statement condition has more than two successors.
*/
import cpp
from DoStmt ds
where count(ds.getCondition().getASuccessor()) > 2
select ds