Commit 9f2b61e4 by Jason Merrill

fix

From-SVN: r21793
parent 287662c5
// 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;
......
......@@ -14,7 +14,7 @@ int main(void)
try {
f.cause_error();
}
catch (char cp[]) {
catch (const char cp[]) {
return 0;
}
return 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment