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:
parent
05c6099ab9
commit
eddfe8258a
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user