Files
codeql/cpp/ql/test/library-tests/structs/mutual_recursion/compatible_structs.ql
2018-08-02 17:53:23 +01:00

9 lines
180 B
Plaintext

import cpp
from Struct s, string distinct
where
distinct = count(Struct x | x.getName() = s.getName())
+ " different struct(s) called "
+ s.getName()
select s, distinct