summaryrefslogtreecommitdiff
path: root/test/example/small_vector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/example/small_vector.cpp')
-rw-r--r--test/example/small_vector.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/example/small_vector.cpp b/test/example/small_vector.cpp
index 732cbfac3..cb2e22e79 100644
--- a/test/example/small_vector.cpp
+++ b/test/example/small_vector.cpp
@@ -1,12 +1,11 @@
-#include <iostream>
#include <cassert>
+#include <iostream>
#include "support/small_vector.h"
using namespace wasm;
-template<typename T>
-void test() {
+template<typename T> void test() {
{
T t;
// build up
@@ -65,4 +64,3 @@ int main() {
test<SmallVector<int, 10>>();
std::cout << "ok.\n";
}
-