Debian Codegraph @

t/90stack.t

raw
1 # -*- cperl -*-
2
3 ##
4 # This test checks that the XS code handles the perl stack correctly
5 # when the module loads. This failed in 5.19.6+.
6 #
7 # See: https://rt.cpan.org/Ticket/Display.html?id=92606 .
8
9 use Test::More tests => 1;
10
11 for (1) {
12 for (1,0) {
13 require XML::LibXML;
14 }
15 }
16
17 # If we get this far, then all is fine.
18 # TEST
19 pass("Loading XML::LibXML works inside multiple foreach loops");