Merge pull request #2328 from geoffw0/routinetest

CPP: Add a quick test of RoutineType.
This commit is contained in:
Dave Bartolomeo
2019-11-14 15:49:13 -07:00
committed by GitHub
3 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
using myRoutineType = int(int);
myRoutineType *fp = 0;

View File

@@ -0,0 +1 @@
| routinetype.cpp:2:7:2:19 | myRoutineType | file://:0:0:0:0 | ..()(..) | RoutineType |

View File

@@ -0,0 +1,5 @@
import cpp
from TypedefType t, Type u
where u = t.getBaseType()
select t, u, concat(u.getAQlClass(), ", ")