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