diff options
Diffstat (limited to 'src/wasm-validator.h')
-rw-r--r-- | src/wasm-validator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wasm-validator.h b/src/wasm-validator.h index cb226a924..d01e61407 100644 --- a/src/wasm-validator.h +++ b/src/wasm-validator.h @@ -384,6 +384,9 @@ public: } } } + if (curr->kind == ExternalKind::Table) { + shouldBeTrue(getModule()->table.imported, curr->name, "Table import record exists but table is not marked as imported"); + } } void visitExport(Export* curr) { |