https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124229
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Related test that works, because there we are in a template function:
```
#include <meta>
enum class E
{
X [[=1]]
};
int main()
{
[](auto a) {
using U = [:type_of(^^a):];;
constexpr auto m = std::meta::extract<U>(std::meta::reflect_constant
(1));
}(1);
}
```
