Revert "Fix example to define sub is_inline{ 0 }"
[gitmo/Class-MOP.git] / t / 311_inline_and_dollar_at.t
CommitLineData
e24b19fb 1use strict;
2use warnings;
3
4use Test::More;
5
6plan tests => 1;
7
8use Class::MOP;
9
10
11{
12 package Foo;
13
14 my $meta = Class::MOP::Class->initialize(__PACKAGE__);
15
16 $@ = 'dollar at';
17
18 $meta->make_immutable;
19
20 ::is( $@, 'dollar at', '$@ is untouched after immutablization' );
21}