summaryrefslogtreecommitdiffstats
path: root/t/compile-time.t
blob: a20ff6c7c37cb91653b22544d040048aa1830a13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;