From 10a4394ca53c09f45a8559a87ed7c4f4d18aa1ed Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 21 Jul 2013 01:38:27 -0400 Subject: make this test trigger the segfault --- t/basic.t | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/t/basic.t b/t/basic.t index 8171972..565970a 100644 --- a/t/basic.t +++ b/t/basic.t @@ -31,8 +31,7 @@ use Test::More; } baz { - my $foo = 1; - return $foo + 2; + 1 + 2 } ::is(ref($code), 'CODE'); ::is($code->(), 3); -- cgit v1.2.3-54-g00ecf