import some (modified) MS tests
[p5sagit/Function-Parameters.git] / t / foreign / Method-Signatures / func.t
diff --git a/t/foreign/Method-Signatures/func.t b/t/foreign/Method-Signatures/func.t
new file mode 100644 (file)
index 0000000..3ee64ef
--- /dev/null
@@ -0,0 +1,13 @@
+#!perl
+use strict;
+use warnings FATAL => 'all';
+
+use Test::More tests => 1;
+
+use Function::Parameters qw(:strict);
+
+fun echo($arg) {
+    return $arg;
+}
+
+is echo(42), 42, "basic func";