aboutsummaryrefslogtreecommitdiff
path: root/src/check_decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_decl.cpp')
-rw-r--r--src/check_decl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp
index 75d37a22d..f85e88c0f 100644
--- a/src/check_decl.cpp
+++ b/src/check_decl.cpp
@@ -425,6 +425,7 @@ void init_entity_foreign_library(Checker *c, Entity *e) {
} else {
// TODO(bill): Extra stuff to do with library names?
*foreign_library = found;
+ found->LibraryName.used = true;
add_entity_use(c, ident, found);
}
}