diff options
Diffstat (limited to 'gcc/cp/name-lookup.c')
-rw-r--r-- | gcc/cp/name-lookup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c index 0da373ce2a6..b5d14b3b39c 100644 --- a/gcc/cp/name-lookup.c +++ b/gcc/cp/name-lookup.c @@ -1548,7 +1548,8 @@ kept_level_p (void) return (current_binding_level->blocks != NULL_TREE || current_binding_level->keep || current_binding_level->kind == sk_cleanup - || current_binding_level->names != NULL_TREE); + || current_binding_level->names != NULL_TREE + || current_binding_level->using_directives); } /* Returns the kind of the innermost scope. */ |