mirror of
https://github.com/github/codeql.git
synced 2026-02-28 12:53:49 +01:00
10 lines
187 B
Plaintext
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
|
|
|