summaryrefslogtreecommitdiff
path: root/t/lib/dprof/test1_t
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/dprof/test1_t')
-rw-r--r--t/lib/dprof/test1_t18
1 files changed, 18 insertions, 0 deletions
diff --git a/t/lib/dprof/test1_t b/t/lib/dprof/test1_t
new file mode 100644
index 0000000000..d504cd5536
--- /dev/null
+++ b/t/lib/dprof/test1_t
@@ -0,0 +1,18 @@
+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();