summaryrefslogtreecommitdiffstats
path: root/t/compile-time.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-08-18 18:34:54 -0500
committerJesse Luehrs <doy@tozt.net>2012-08-18 18:34:54 -0500
commit6d034593a5f0b02eb9e5b7069fa86814aae07b7c (patch)
treecac520e6c8261200f1106d905c9a54ac5eb07883 /t/compile-time.t
parent81934f7347d6d0ebaa8713fb2d9962764de724fc (diff)
downloadfun-6d034593a5f0b02eb9e5b7069fa86814aae07b7c.tar.gz
fun-6d034593a5f0b02eb9e5b7069fa86814aae07b7c.zip
initial implementation
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;