C++: Add test cases for constant initializers

Adds test cases for initialisation of constants which aren't simple
zeros.  Example: int x = int();
This commit is contained in:
Matthew Gretton-Dann
2019-09-20 14:20:25 +01:00
parent fb20cab4c8
commit b76f66e83b
3 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
import cpp
from Expr e
select e, e.getValueText()