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

uecker at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uecker at gcc dot gnu.org

--- Comment #3 from uecker at gcc dot gnu.org ---

Another example where this would be useful:

#define assert_nonzero(x) \
    (constexpr struct { \
        _Static_assert(x, "BUG"); \
        typeof(x) value; \
    }){ x }.value)

int a[assert_nonzero(1)];


And in the following example there is no identifier:

    (constexpr struct { }){ };

Reply via email to