summaryrefslogtreecommitdiff
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 2645da28295..846089b52c1 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -6027,6 +6027,7 @@ grokfndecl (tree ctype,
oldtypeargs);
TREE_TYPE (decl) = newtype;
}
+ check_main_parameter_types (decl);
inlinep = 0;
publicp = 1;
}