summaryrefslogtreecommitdiff
path: root/test/example
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-05-13 10:12:50 -0700
committerGitHub <noreply@github.com>2022-05-13 10:12:50 -0700
commit93942d08b370dd0ee193d47b13472ee37747a75e (patch)
tree3732edb111e098c8d8dc904cdeb6ad3748bbd794 /test/example
parent48eb700ba16e8c98c4283fdde2064b78c3561fbd (diff)
downloadbinaryen-93942d08b370dd0ee193d47b13472ee37747a75e.tar.gz
binaryen-93942d08b370dd0ee193d47b13472ee37747a75e.tar.bz2
binaryen-93942d08b370dd0ee193d47b13472ee37747a75e.zip
Add SubTypes::getAllSubTypes variant which includes the type itself (#4649)
This also includes the type itself in the returned vector. This will be useful in a future PR.
Diffstat (limited to 'test/example')
-rw-r--r--test/example/type-builder-nominal.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/example/type-builder-nominal.cpp b/test/example/type-builder-nominal.cpp
index 34571c48e..8dbbfcf30 100644
--- a/test/example/type-builder-nominal.cpp
+++ b/test/example/type-builder-nominal.cpp
@@ -1,6 +1,7 @@
#include <cassert>
#include <iostream>
+#include "wasm-builder.h"
#include "wasm-type-printing.h"
#include "wasm-type.h"