fix
authorJason Merrill <jason@gcc.gnu.org>
Mon, 17 Aug 1998 16:34:19 +0000 (12:34 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 17 Aug 1998 16:34:19 +0000 (12:34 -0400)
From-SVN: r21793

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

index 79c5b51371d495cad608b915da7674f61303ec67..f6ca7129fb08cbdaab3e50384a88693a3afbf67b 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 6bc1dc045fd83b3215509b16e00bccf4dbc6af9e..3289d975d58b8d37fb24a4d1c1b6ecae28434ece 100644 (file)
@@ -14,7 +14,7 @@ int main(void)
   try {
     f.cause_error();
   }
-  catch (char cp[]) {
+  catch (const char cp[]) {
     return 0;
   }
   return 1;