mirror of
https://github.com/github/codeql.git
synced 2026-03-22 15:36:48 +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
|
|
|