File: pad2.t

package info (click to toggle)
libdevel-callparser-perl 0.002-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 288 kB
  • ctags: 13
  • sloc: perl: 73; makefile: 18
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);