1--TEST--
2Validation for "Attribute" does not use a scope when evaluating constant ASTs
3--FILE--
4<?php
5#[Attribute(parent::x)]
6class x extends y {}
7?>
8--EXPECTF--
9Fatal error: Cannot access "parent" when no class scope is active in %s on line %d
10