Commit 7d04db3f by DJ Delorie Committed by DJ Delorie

stdarg-2.c (main): Make sure long constants have the L suffix.

* gcc.c-torture/execute/stdarg-2.c (main): Make sure long
constants have the L suffix.

From-SVN: r103412
parent 4d3c798d
2005-08-23 DJ Delorie <dj@redhat.com>
* gcc.c-torture/execute/stdarg-2.c (main): Make sure long
constants have the L suffix.
2005-08-23 Nathan Sidwell <nathan@codesourcery.com>
PR c++/23044
......
......@@ -143,8 +143,8 @@ f12 (int i, ...)
int
main (void)
{
f1 (1, 79);
if (x != 79)
f1 (1, 79L);
if (x != 79L)
abort ();
f2 (0x4002, 13, -14.0);
if (bar_arg != 0x4002)
......
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