C++: Add tests (and fix a missing quote in the alert message).

This commit is contained in:
Mathias Vorreiter Pedersen
2024-04-16 14:20:19 +01:00
parent 6cb5db2387
commit e1884c193b
4 changed files with 41 additions and 1 deletions

View File

@@ -111,5 +111,5 @@ where
uninitialisedBefore(v, f) and
useFunc(v, f)
select f,
"The variable '" + v.getName() +
"The variable '" + v.getName() + "'" +
" is used in this function but may not be initialized when it is called."