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++/52654] [C++11] Warn on overflow in user-defined literals


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

--- Comment #6 from Ed Smith-Rowland <3dw4rd at verizon dot net> 2012-03-31 17:06:12 UTC ---
Created attachment 27054
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27054
Test case for overflow warnings.

This test case should give the appropriate warnings.

Also, what about this:

 -3_w;


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