summaryrefslogtreecommitdiff
path: root/ext/Devel/DProf/test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Devel/DProf/test.pl')
-rw-r--r--ext/Devel/DProf/test.pl20
1 files changed, 20 insertions, 0 deletions
diff --git a/ext/Devel/DProf/test.pl b/ext/Devel/DProf/test.pl
new file mode 100644
index 0000000000..8fa0f41043
--- /dev/null
+++ b/ext/Devel/DProf/test.pl
@@ -0,0 +1,20 @@
+#!./perl
+
+sub foo {
+ print "in sub foo\n";
+ bar();
+}
+
+sub bar {
+ print "in sub bar\n";
+}
+
+sub baz {
+ print "in sub baz\n";
+ bar();
+ foo();
+}
+
+bar();
+baz();
+foo();