diff options
author | DJ Delorie <dj@redhat.com> | 2003-05-09 21:07:38 -0400 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2003-05-09 21:07:38 -0400 |
commit | eddfe8258a8d5524e35ddb2c9c2e27daffc21ee5 (patch) | |
tree | 296b375f3c96ffcd1f49e956e8eead71724020cc | |
parent | 05c6099ab934d1eb083692af8e8806d261e01d59 (diff) | |
download | gcc-eddfe8258a8d5524e35ddb2c9c2e27daffc21ee5.zip gcc-eddfe8258a8d5524e35ddb2c9c2e27daffc21ee5.tar.gz gcc-eddfe8258a8d5524e35ddb2c9c2e27daffc21ee5.tar.bz2 |
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/other/stdarg1.C | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bfddd4d..dd0c8c8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/g++.dg/other/stdarg1.C b/gcc/testsuite/g++.dg/other/stdarg1.C index 3b7718b..e005199 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; } |