1--TEST--
2Foo(...) in attribute in assert
3--FILE--
4<?php
5assert(function() {
6    #[Foo(...)]
7    class Test {}
8});
9?>
10--EXPECTF--
11Fatal error: Cannot create Closure as attribute argument in %s on line %d
12