Commit 84646cd
committed
C++: Add tests showing missing destructors for initialization statements
Incidentially this also shows that for contructs like `if (char x = ...)`, so
there is an initialization but not initializer statement, the initialization
is not displayed in the AST, although the IR does contain the initialization.1 parent ec071cd commit 84646cd
5 files changed
Lines changed: 1150 additions & 0 deletions
File tree
- cpp/ql/test/library-tests/ir/ir
0 commit comments