https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89743

--- Comment #2 from Jason Cobb <jason.e.cobb at gmail dot com> ---
(In reply to Jonathan Wakely from comment #1)
> GCC 8 gives:
> 
> c.cc:5:23: error: expected nested-name-specifier
>  using type = typename use_type<decltype(requires() {
>                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>          1;
>          ~~             
>  })>;
>  ~~~
> 
> But I think that might be because my GCC 8 builds use
> --enable-checking=release

Yes, that would actually be an error if it didn't ICE.
However, the ICE does still occur without the typename keyword.

Reply via email to