Commit eddfe825 by DJ Delorie Committed by DJ Delorie

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
parent 05c6099a
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> 2003-05-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10555, c++/10576 PR c++/10555, c++/10576
......
...@@ -21,6 +21,6 @@ void foo (long p1, long, long p2, ...) ...@@ -21,6 +21,6 @@ void foo (long p1, long, long p2, ...)
int main () int main ()
{ {
foo (0, 1, 2, 3); foo (0, 1, 2, (long)3);
return 0; return 0;
} }
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