File: pad2.t

package info (click to toggle)
libdevel-callparser-perl 0.002-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 292 kB
  • sloc: perl: 73; sh: 4; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 191 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use warnings;
use strict;

use Test::More tests => 1;

use Devel::CallParser;

sub f {
  my $arg = shift;

  { my $arg; } # ???
  ok($arg, '$arg stays set after a "my $arg" block');
}

f(1);