diff options
Diffstat (limited to 'test/example/c-api-multiple-tables.c')
-rw-r--r-- | test/example/c-api-multiple-tables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example/c-api-multiple-tables.c b/test/example/c-api-multiple-tables.c index c19dcdb6f..d9d812d3d 100644 --- a/test/example/c-api-multiple-tables.c +++ b/test/example/c-api-multiple-tables.c @@ -51,7 +51,7 @@ int main() { BinaryenConst(module, BinaryenLiteralInt32(0))); BinaryenAddPassiveElementSegment(module, "passive", funcNames, 1); assert(NULL != BinaryenGetElementSegmentByIndex(module, 2)); - assert(1 == BinayenElementSegmentIsPassive( + assert(1 == BinaryenElementSegmentIsPassive( BinaryenGetElementSegment(module, "passive"))); BinaryenTableRef t2 = BinaryenGetTableByIndex(module, 1); assert(t2 != NULL); |