1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 08:32:56 +00:00
composer/tests/Composer/Test/Autoload/Fixtures/hhvm3.3/HackEnum.php
Fred Emmott 33ea86573e Add support for using classmap to autoload Hack enums
fixes composer/composer#3823

Ran tests with both PHP5.5.9-1ubuntu4.5 and HHVM 3.6. Test fails on HHVM only
if I back out the ClassMapGenerator.php change.
2015-03-09 09:38:02 -07:00

6 lines
52 B
PHP

<?hh
enum FooEnum: int {
HERP = 1;
DERP = 2;
}