diff options
Diffstat (limited to 'Examples/test-suite/typemap_subst.i')
-rw-r--r-- | Examples/test-suite/typemap_subst.i | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Examples/test-suite/typemap_subst.i b/Examples/test-suite/typemap_subst.i index 67d412442..d5a8416db 100644 --- a/Examples/test-suite/typemap_subst.i +++ b/Examples/test-suite/typemap_subst.i @@ -50,6 +50,14 @@ (void)stardesc; (void)ampdesc; } + { /* Test descriptor macro */ + void *desc = $descriptor(const struct xyzzy **); + void *stardesc = $descriptor(const struct xyzzy *); + void *ampdesc = $descriptor(const struct xyzzy ***); + (void)desc; + (void)stardesc; + (void)ampdesc; + } $1 = ($ltype) temp; } |