Disallow declarations outside of the global scope.
[hiphop-php.git] / hphp / test / slow / inout / msrv / tests / abstract-method.php
blobc3f89fd4ecdb9074e46db67ba48ca7ca01b22208
1 <?hh /* @generated by make_suite.sh */
3 interface I {
4 public function foo(int &$x): Awaitable<void>;
7 class C implements I {
8 public async function foo(int &$x): Awaitable<void> {}
11 abstract class B {
12 public abstract function foo(int &$x): Awaitable<void>;
15 class D extends B {
16 public async function foo(int &$x): Awaitable<void> {}
19 echo "Done.\n";