10 my $stash = Package::Stash->new('Foo');
11 # this segfaulted on the xs version
13 exception { $stash->add_symbol('@bar::baz') },
14 qr/^Variable names may not contain ::/,
15 "can't add symbol with ::"
18 exception { $stash->get_symbol('@bar::baz') },
19 qr/^Variable names may not contain ::/,
20 "can't add symbol with ::"
23 exception { $stash->get_or_add_symbol('@bar::baz') },
24 qr/^Variable names may not contain ::/,
25 "can't add symbol with ::"