aboutsummaryrefslogtreecommitdiff
path: root/typecheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'typecheck.c')
-rw-r--r--typecheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/typecheck.c b/typecheck.c
index 576007a3..8f1e5e81 100644
--- a/typecheck.c
+++ b/typecheck.c
@@ -875,7 +875,7 @@ type_t *get_type(env_t *env, ast_t *ast)
case Extern: {
return parse_type_ast(env, Match(ast, Extern)->type);
}
- case Declare: case Assign: case DocTest: case LinkerDirective: {
+ case Declare: case Assign: case DocTest: {
return Type(VoidType);
}
case Use: {