OSDN Git Service

2005-04-25 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Apr 2005 18:28:55 +0000 (18:28 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Apr 2005 18:28:55 +0000 (18:28 +0000)
        PR testsuite/21062
        * g++.dg/opt/alias2.C (printf): Correct the prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98728 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/alias2.C

index 10f42d1..168fcdf 100644 (file)
@@ -1,5 +1,10 @@
 2005-04-25  Andrew Pinski  <pinskia@physics.uc.edu>
 
+       PR testsuite/21062
+       * g++.dg/opt/alias2.C (printf): Correct the prototype.
+
+2005-04-25  Andrew Pinski  <pinskia@physics.uc.edu>
+
        PR C++/21188
        * g++.dg/opt/rtti2.C: New test.
 
index ea2bcb3..0b41224 100644 (file)
@@ -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;