aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.eh/spec2.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.eh/spec2.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.eh/spec2.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.eh/spec2.C b/gcc/testsuite/g++.old-deja/g++.eh/spec2.C
index 41774bf7de4..d0269b3a4be 100644
--- a/gcc/testsuite/g++.old-deja/g++.eh/spec2.C
+++ b/gcc/testsuite/g++.old-deja/g++.eh/spec2.C
@@ -13,7 +13,7 @@ f () throw (int, std::bad_exception)
throw 'a';
}
-main ()
+int main ()
{
std::set_terminate (my_term);
std::set_unexpected (my_unexp);