summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes/cperl-mode-resources/cperl-bug-74245.pl
blob: 44d1e49bd36aff451f0c8759a2ba56e4777c8ea6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This resource file can be run with cperl--run-testcases from
# cperl-tests.el and works with both perl-mode and cperl-mode.

# -------- signature where last parameter is ignored: input -------
package P {
use v5.36;
sub ignore ($first, $) {}
ignore(qw(first second));
}
# -------- signature where last parameter is ignored: expected output -------
package P {
  use v5.36;
  sub ignore ($first, $) {}
  ignore(qw(first second));
}
# -------- signature where last parameter is ignored: end -------