summaryrefslogtreecommitdiff
path: root/t/lib/dprof/test1_v
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/dprof/test1_v')
-rw-r--r--t/lib/dprof/test1_v24
1 files changed, 24 insertions, 0 deletions
diff --git a/t/lib/dprof/test1_v b/t/lib/dprof/test1_v
new file mode 100644
index 0000000000..542a503414
--- /dev/null
+++ b/t/lib/dprof/test1_v
@@ -0,0 +1,24 @@
+# perl
+
+use V;
+
+dprofpp( '-T' );
+$expected =
+qq{main::bar
+main::baz
+ main::bar
+ main::foo
+ main::bar
+main::foo
+ main::bar
+};
+report 1, sub { $expected eq $results };
+
+dprofpp('-TF');
+report 2, sub { $expected eq $results };
+
+dprofpp( '-t' );
+report 3, sub { $expected eq $results };
+
+dprofpp('-tF');
+report 4, sub { $expected eq $results };