File: load_module.t

package info (click to toggle)
libdevel-declare-perl 0.006000-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 296 kB
  • ctags: 238
  • sloc: perl: 1,605; ansic: 756; makefile: 25
file content (19 lines) | stat: -rw-r--r-- 332 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
=pod

This tests against a segfault when PL_parser becomes NULL temporarly, while
another module is loaded.

=cut

use strict;
use warnings;

use Test::More tests => 1;                      # last test to print

use Devel::Declare 'method' => sub{};

sub lowercase {
        lc $_[0];
}

is lowercase("FOO\x{263a}"), "foo\x{263a}";