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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase without any headers:
```
struct g
{
  char a;
};
constexpr bool f(const char *a) { return a != nullptr; }
static_assert([v = g{}] { return f(&v.a); }());
```

This works with clang.
But MSVC rejects it ...

Reply via email to