projects
/
p5sagit/Function-Parameters.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
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
+++ b/
t/foreign/Method-Signatures/func.t
@@ -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";