#!/usr/bin/env perl
use strict;
use warnings;
-use Test::More tests => 11;
+use Test::More tests => 13;
use Test::Exception;
require Class::MOP;
Class::MOP::load_class('SyntaxError');
} qr/Missing right curly/;
+{
+ package Other;
+ use constant foo => "bar";
+}
+
+lives_ok { ok(Class::MOP::is_class_loaded("Other")) } "a class with just constants is still a class";