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

Waffl3x <waffl3x at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |waffl3x at gcc dot gnu.org
           Keywords|                            |c++26, rejects-valid
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=126804

--- Comment #1 from Waffl3x <waffl3x at gcc dot gnu.org> ---
https://godbolt.org/z/5x5cr9bYG
```
struct S {};

bool ok(S const&) { return true; }

S f()
  post(r: ok(r))
{
  return {};
}
```
I don't think the number of postconditions influences this. The
reference in ok appears to be the significant part.

Reply via email to