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
This commit is contained in:
DJ Delorie 2003-05-09 21:07:38 -04:00 committed by DJ Delorie
parent 05c6099ab9
commit eddfe8258a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-05-09 DJ Delorie <dj@redhat.com>
* g++.dg/other/stdarg1.C: Make sure arg "3" is passed as a
long, and not an int.
2003-05-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10555, c++/10576

View File

@ -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;
}