aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-dissect.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-dissect.c')
-rw-r--r--test-dissect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-dissect.c b/test-dissect.c
index 81cc89d1..ece22536 100644
--- a/test-dissect.c
+++ b/test-dissect.c
@@ -55,7 +55,7 @@ static void r_symbol(unsigned mode, struct position *pos, struct symbol *sym)
goto err;
case 'f':
- if (sym->ctype.base_type->type != SYM_FN)
+ if (sym->type != SYM_BAD && sym->ctype.base_type->type != SYM_FN)
goto err;
case 'v':
if (sym->type == SYM_NODE || sym->type == SYM_BAD)