1--TEST--
2ZE2 A class that inherits an abstract method is abstract
3--SKIPIF--
4<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?>
5--FILE--
6<?php
7
8abstract class pass {
9	abstract function show();
10}
11
12abstract class fail extends pass {
13}
14
15$t = new fail();
16$t = new pass();
17
18echo "Done\n"; // Shouldn't be displayed
19?>
20--EXPECTF--
21Fatal error: Uncaught Error: Cannot instantiate abstract class fail in %s:%d
22Stack trace:
23#0 {main}
24  thrown in %s on line %d
25