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

7 lines
216 B
Plaintext

import cpp
from Class t, string struct, string union
where if t instanceof Struct then struct = "struct" else struct = ""
and if t instanceof Union then union = "union" else union = ""
select t, struct, union