CPP: Add a test of RoutineType.

This commit is contained in:
Geoffrey White
2019-11-14 15:13:52 +00:00
parent 9c9744620e
commit dc34fa366c
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(), ", ")