Commit 939aa29f by Andy Hutchinson

* gcc-dg/Wtype-limits.c: Add line to correct line numbers.

From-SVN: r154482
parent c84f4042
2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
* gcc-dg/Wtype-limits.c: Add line to correct line numbers.
2009-11-23 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/42086
......
......@@ -2,6 +2,7 @@
/* { dg-options "-Wtype-limits" } */
void a (unsigned char x)
{
if (x < 0) return;/* { dg-warning "comparison is always false due to limited range of data type" } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment