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
This commit is contained in:
DJ Delorie 2005-08-23 16:58:13 -04:00 committed by DJ Delorie
parent 4d3c798d3f
commit 7d04db3f0f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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)