Add trivial entry points to various tests
[hiphop-php.git] / hphp / test / zend / good / tests / classes / clone_005.php
blob8af8ebba409c18c3b65a118f5772e4d05d913d57
1 <?hh
2 abstract class base {
3 public $a = 'base';
5 // disallow cloning once forever
6 final private function __clone() {}
9 class test extends base {
10 // reenabling should fail
11 public function __clone() {}
14 <<__EntryPoint>>
15 function main(): void {
16 echo "Done.\n";