Sign in
chromium
/
external
/
github.com
/
WebAssembly
/
binaryen
/
d491544d01f8d281b0453f35f084bed3e4856a9c
/
.
/
test.cpp
blob: bcfc28cb0cde48b61d6eaa7a2259e16baa2b7a98 [
file
]
#include
<vector>
#include
<memory>
struct
Function
{};
struct
Module
{
std
::
vector
<
std
::
unique_ptr
<
Function
>>
functions
;
};
void
walkModule
(
const
Module
*
m
)
{
for
(
auto
&
f
:
m
->
functions
)
{
Function
*
func
=
f
.
get
();
}
}
int
main
()
{}