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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-01-02
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  Clang rejects the code with

$ clang -S --pedantic-errors pr88642.c
pr88642.c:4:15: error: too many braces around scalar initializer
      [-Werror,-Wmany-braces-around-scalar-init]
    int x = { { 0 } };
              ^~~~~
1 error generated.

Reply via email to