summaryrefslogtreecommitdiffstats
path: root/t/fun/compile-time.t
diff options
context:
space:
mode:
Diffstat (limited to 't/fun/compile-time.t')
-rw-r--r--t/fun/compile-time.t13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/fun/compile-time.t b/t/fun/compile-time.t
new file mode 100644
index 0000000..cc72455
--- /dev/null
+++ b/t/fun/compile-time.t
@@ -0,0 +1,13 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use Test::More;
+use lib 't/fun/lib';
+
+use Fun;
+
+is(foo(), "FOO");
+
+fun foo { "FOO" }
+
+done_testing;