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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced slightly more:
```
template<bool a>
struct bool_const1 {};

struct B {
    bool b = true;
};

// error in GCC
static_assert( requires() { bool_const1<B{}.b>{}; } );
```

Reply via email to