summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/lib/perl5db/t/test-dieLevel-option-1
blob: 0849ae2a0d26e6e2d3e519efee64a9ecbcfbf59c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use strict;
use warnings;

sub foo
{
    print "In foo\n";
    bar();
}

sub bar
{
    print "In baz\n";
    baz();
}

sub baz
{
    die "This program dies.";
}

foo();