fix bug where constants containing a reference weren't handled correctly
[gitmo/Role-Tiny.git] / t / role-tiny.t
index 69ee7ef..7bbe99c 100644 (file)
@@ -19,6 +19,9 @@ BEGIN {
 BEGIN {
   package MyClass;
 
+  use constant SIMPLE => 'simple';
+  use constant REF_CONST => [ 'ref_const' ];
+
   sub req1 { }
   sub req2 { }
   sub foo { 'class foo' }