diff --git a/tests/aot/type_hits/interface.phpt b/tests/aot/type_hits/interface.phpt new file mode 100644 index 00000000..8f2a3534 --- /dev/null +++ b/tests/aot/type_hits/interface.phpt @@ -0,0 +1,33 @@ +--TEST-- +type hits +--FILE-- +quack(); +} + +function main() +{ + makeItQuack(new Duck()); + makeItQuack(new Person()); +} +?> +--EXPECT-- +Quack! +I'm imitating a duck! \ No newline at end of file