Initial commit
[wasm.git] / test.cpp
1 #include <vector>
2 extern "C" int foo() {
3         std::vector<int> *xs = new std::vector<int>();
4         xs->push_back(42);
5         return (*xs)[0];
6 }