This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52654] [C++11] Warn on overflow in user-defined literals
- From: "3dw4rd at verizon dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 31 Mar 2012 17:06:12 +0000
- Subject: [Bug c++/52654] [C++11] Warn on overflow in user-defined literals
- Auto-submitted: auto-generated
- References: <bug-52654-4@http.gcc.gnu.org/bugzilla/>
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;