This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/37177] [c++0x] ICE on decltype(rel_ops::operator><int>);



------- Comment #3 from jason at gcc dot gnu dot org  2009-10-08 03:54 -------
The reduced testcase is indeed valid, this is DR 115:

http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#115

However, rel_ops::operator><int> is ill-formed, because it has no operands of
class or enumeration type.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-08-29 05:42:33         |2009-10-08 03:54:11
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37177


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]