From: Andrew Pinski Date: Mon, 25 Apr 2005 18:28:55 +0000 (+0000) Subject: re PR testsuite/21062 (Incorrect declaration of printf() in alias2.C) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3321369fcea93ddae5b1d04b2589af1ef069be44;p=gcc.git re PR testsuite/21062 (Incorrect declaration of printf() in alias2.C) 2005-04-25 Andrew Pinski PR testsuite/21062 * g++.dg/opt/alias2.C (printf): Correct the prototype. From-SVN: r98728 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 10f42d1277f..168fcdf50ca 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-04-25 Andrew Pinski + + PR testsuite/21062 + * g++.dg/opt/alias2.C (printf): Correct the prototype. + 2005-04-25 Andrew Pinski PR C++/21188 diff --git a/gcc/testsuite/g++.dg/opt/alias2.C b/gcc/testsuite/g++.dg/opt/alias2.C index ea2bcb37698..0b4122471c8 100644 --- a/gcc/testsuite/g++.dg/opt/alias2.C +++ b/gcc/testsuite/g++.dg/opt/alias2.C @@ -1,7 +1,7 @@ // { dg-do run } // { dg-options "-O2" } -extern "C" int printf (...); +extern "C" int printf (const char*, ...); struct _Deque_iterator { int _M_cur;