From: DJ Delorie Date: Sat, 10 May 2003 01:07:38 +0000 (-0400) Subject: stdarg1.C: Make sure arg "3" is passed as a long, and not an int. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eddfe8258a8d5524e35ddb2c9c2e27daffc21ee5;p=gcc.git stdarg1.C: Make sure arg "3" is passed as a long, and not an int. * g++.dg/other/stdarg1.C: Make sure arg "3" is passed as a long, and not an int. From-SVN: r66653 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bfddd4d7b44..dd0c8c841c8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-05-09 DJ Delorie + + * g++.dg/other/stdarg1.C: Make sure arg "3" is passed as a + long, and not an int. + 2003-05-09 Kriang Lerdsuwanakij PR c++/10555, c++/10576 diff --git a/gcc/testsuite/g++.dg/other/stdarg1.C b/gcc/testsuite/g++.dg/other/stdarg1.C index 3b7718bd229..e005199d37a 100644 --- a/gcc/testsuite/g++.dg/other/stdarg1.C +++ b/gcc/testsuite/g++.dg/other/stdarg1.C @@ -21,6 +21,6 @@ void foo (long p1, long, long p2, ...) int main () { - foo (0, 1, 2, 3); + foo (0, 1, 2, (long)3); return 0; }