OSDN Git Service

fix
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Aug 1998 16:34:19 +0000 (16:34 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Aug 1998 16:34:19 +0000 (16:34 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21793 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/g++.old-deja/g++.brendan/groff1.C
gcc/testsuite/g++.old-deja/g++.mike/eh5.C

index 79c5b51..f6ca712 100644 (file)
@@ -1,7 +1,7 @@
 // GROUPS passed groff
 /* This should compile properly with the new overloading scheme.  */
 
-extern "C" void printf (char *, ...);
+extern "C" void printf (const char *, ...);
 extern "C" void exit (int);
 
 int win = 0;
index 6bc1dc0..3289d97 100644 (file)
@@ -14,7 +14,7 @@ int main(void)
   try {
     f.cause_error();
   }
-  catch (char cp[]) {
+  catch (const char cp[]) {
     return 0;
   }
   return 1;