summaryrefslogtreecommitdiff
path: root/t/Hints.pm
blob: 7461d4952ad3171f0404d6b83bb51864eb40d47e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package t::Hints;

use warnings;
use strict;

use Test::More;

BEGIN { is $^H{"Module::Runtime/test_a"}, undef; }
main::test_runtime_hint_hash "Module::Runtime/test_a", undef;

sub import {
	is $^H{"Module::Runtime/test_a"}, 1;
	$^H |= 0x20000 if "$]" < 5.009004;
	$^H{"Module::Runtime/test_b"} = 1;
}

1;