mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-22 15:00:55 +08:00
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:
parent
4d3c798d3f
commit
7d04db3f0f
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user