From 3321369fcea93ddae5b1d04b2589af1ef069be44 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Mon, 25 Apr 2005 18:28:55 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/opt/alias2.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; -- 2.30.2