File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
libcxx/test/std/containers/sequences/vector/vector.data Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -60,19 +60,19 @@ TEST_CONSTEXPR_CXX20 bool tests()
6060 assert (is_contiguous_container_asan_correct (v));
6161 }
6262 {
63- const std::vector<int , safe_allocator<int >> v;
64- assert (v.data () == 0 );
65- assert (is_contiguous_container_asan_correct (v));
63+ const std::vector<int , safe_allocator<int >> v;
64+ assert (v.data () == 0 );
65+ assert (is_contiguous_container_asan_correct (v));
6666 }
6767 {
68- const std::vector<int , safe_allocator<int >> v (100 );
69- assert (v.data () == &v.front ());
70- assert (is_contiguous_container_asan_correct (v));
68+ const std::vector<int , safe_allocator<int >> v (100 );
69+ assert (v.data () == &v.front ());
70+ assert (is_contiguous_container_asan_correct (v));
7171 }
7272 {
73- const std::vector<Nasty, safe_allocator<Nasty>> v (100 );
74- assert (v.data () == std::addressof (v.front ()));
75- assert (is_contiguous_container_asan_correct (v));
73+ const std::vector<Nasty, safe_allocator<Nasty>> v (100 );
74+ assert (v.data () == std::addressof (v.front ()));
75+ assert (is_contiguous_container_asan_correct (v));
7676 }
7777#endif
7878
You can’t perform that action at this time.
0 commit comments