diff --git a/src/test-iter.cc b/src/test-iter.cc index 0e713e1f6..3fdf4dfa3 100644 --- a/src/test-iter.cc +++ b/src/test-iter.cc @@ -65,6 +65,8 @@ struct some_array_t template static void test_iterator (Iterator it) { + Iterator default_constructed; + /* Iterate over a copy of it. */ for (auto c = it.iter (); c; c++) *c;