import some (modified) MS tests
[p5sagit/Function-Parameters.git] / t / foreign / Method-Signatures / paren_plus_open_block.t
diff --git a/t/foreign/Method-Signatures/paren_plus_open_block.t b/t/foreign/Method-Signatures/paren_plus_open_block.t
new file mode 100644 (file)
index 0000000..ca8738f
--- /dev/null
@@ -0,0 +1,18 @@
+#!perl
+
+use strict;
+use warnings FATAL => 'all';
+
+package Foo;
+
+use Test::More "no_plan";
+use Function::Parameters qw(:strict);
+
+method foo(
+    $arg
+) 
+{
+    return $arg
+}
+
+is( Foo->foo(23), 23 );