Files
codeql/csharp/ql/test/library-tests/statements/Block3.ql
2018-08-02 17:53:23 +01:00

10 lines
187 B
Plaintext

/**
* @name Test for indices of block children
*/
import csharp
where forall(BlockStmt b |
forall(int n | n in [0..b.getNumberOfStmts()-1] | exists(b.getChild(n))))
select 1