summaryrefslogtreecommitdiff
path: root/test/example/stack-utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/example/stack-utils.cpp')
-rw-r--r--test/example/stack-utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/example/stack-utils.cpp b/test/example/stack-utils.cpp
index b5ac496ca..8709396f9 100644
--- a/test/example/stack-utils.cpp
+++ b/test/example/stack-utils.cpp
@@ -392,7 +392,7 @@ void test_signature_lub() {
(StackSignature{Type::i32, Type::i32, StackSignature::Polymorphic}));
}
{
- StackSignature a{Type::none, Type::externref, StackSignature::Polymorphic};
+ StackSignature a{Type::none, Type::anyref, StackSignature::Polymorphic};
StackSignature b{Type::none, Type::funcref, StackSignature::Polymorphic};
assert(StackSignature::haveLeastUpperBound(a, b));
assert(
@@ -411,7 +411,7 @@ void test_signature_lub() {
StackSignature a{
{Type::i32, Type::funcref}, Type::funcref, StackSignature::Polymorphic};
StackSignature b{
- Type::funcref, {Type::f32, Type::externref}, StackSignature::Polymorphic};
+ Type::funcref, {Type::f32, Type::anyref}, StackSignature::Polymorphic};
assert(StackSignature::haveLeastUpperBound(a, b));
assert(StackSignature::getLeastUpperBound(a, b) ==
(StackSignature{{Type::i32, Type::funcref},