This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51414] Broken diagnostic with invalid use of __underlying_type
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 04 Dec 2011 23:07:46 +0000
- Subject: [Bug c++/51414] Broken diagnostic with invalid use of __underlying_type
- Auto-submitted: auto-generated
- References: <bug-51414-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51414
Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #1 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2011-12-04 23:07:46 UTC ---
Clang 3.0:
pr51414.cc:1:1: error: only enumeration types have underlying types
__underlying_type(int[1]) i;
^
1 error generated.