summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/XSAlias.xs
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/XSAlias.xs')
-rw-r--r--gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/XSAlias.xs19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/XSAlias.xs b/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/XSAlias.xs
new file mode 100644
index 00000000000..fcd98e22862
--- /dev/null
+++ b/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/XSAlias.xs
@@ -0,0 +1,19 @@
+MODULE = My PACKAGE = My
+
+void
+do(dbh)
+ SV *dbh
+ALIAS:
+ dox = 1
+ lox => dox
+ pox = 1
+ pox = 2
+ docks = 1
+ dachs => lox
+ xunx = 0
+ xukes => do
+CODE:
+{
+ int x;
+ ++x;
+}