summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/t/lib/dprof/test3_v
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/t/lib/dprof/test3_v')
-rw-r--r--contrib/perl5/t/lib/dprof/test3_v29
1 files changed, 29 insertions, 0 deletions
diff --git a/contrib/perl5/t/lib/dprof/test3_v b/contrib/perl5/t/lib/dprof/test3_v
new file mode 100644
index 0000000..df7543e
--- /dev/null
+++ b/contrib/perl5/t/lib/dprof/test3_v
@@ -0,0 +1,29 @@
+# perl
+
+use V;
+
+dprofpp( '-T' );
+$e1 = $expected =
+qq{main::bar
+main::baz
+ main::bar
+ main::foo
+};
+report 9, sub { $expected eq $results };
+
+dprofpp('-TF');
+$e2 = $expected =
+qq{main::bar
+main::baz
+ main::bar
+ main::foo
+};
+report 10, sub { $expected eq $results };
+
+dprofpp( '-t' );
+$expected = $e1;
+report 11, sub { 1 };
+
+dprofpp('-tF');
+$expected = $e2;
+report 12, sub { $expected eq $results };
OpenPOWER on IntegriCloud