update foreign tests
[p5sagit/Function-Parameters.git] / t / foreign / Method-Signatures / simple.plx
diff --git a/t/foreign/Method-Signatures/simple.plx b/t/foreign/Method-Signatures/simple.plx
new file mode 100644 (file)
index 0000000..241c436
--- /dev/null
@@ -0,0 +1,12 @@
+package Foo;
+
+use strict;
+use warnings;
+
+use Function::Parameters;
+
+method echo($msg) {
+    return $msg
+}
+
+print Foo->echo(42);