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