gdb/
[deliverable/binutils-gdb.git] / gdb / cp-namespace.c
index 279021e046f4a4dee3eb8a94c5834001262c6780..add4ccb913a47637f4617a1324c58e364bcdb825 100644 (file)
@@ -812,6 +812,11 @@ cp_lookup_nested_symbol (struct type *parent_type,
           base classes.  */
        return find_symbol_in_baseclass (parent_type, nested_name, block);
       }
+
+    case TYPE_CODE_FUNC:
+    case TYPE_CODE_METHOD:
+      return NULL;
+
     default:
       internal_error (__FILE__, __LINE__,
                      _("cp_lookup_nested_symbol called "
This page took 0.024559 seconds and 4 git commands to generate.