This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
ParseXS - better support for duplicate ALIASes
[perl5.git] / dist / ExtUtils-ParseXS / t / XSBroken.xs
CommitLineData
f1f3e123
E
1#include "EXTERN.h"
2#include "perl.h"
3#include "XSUB.h"
4
5typedef IV MyType3;
6
7MODULE = XSBroken PACKAGE = XSBroken
8
9PROTOTYPES: ENABLE
10
11
12TYPEMAP: <<'END'
13MyType3 T_BAAR
14
15OUTPUT
16T_BAAR
17 sv_setiv($arg, (IV)$var);
18END
19
20MyType3
21typemaptest3(foo)
22 MyType3 foo
23 CODE:
24 RETVAL = foo;
25 OUTPUT:
26 RETVAL