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

            Bug ID: 97103
           Summary: ICE on nested requires expression template template
                    instantiation
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mateusz.pusz at gmail dot com
  Target Milestone: ---

```
template<typename R, typename Rep = double>
class quantity {};

template<template<typename, typename> typename Q>
inline constexpr bool valid_template_arguments = requires {
  requires requires { typename Q<int, int>; };
};
static_assert(valid_template_arguments<quantity>);
```

Might be related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66564.

Reply via email to