]> git.lizzy.rs Git - rust.git/blob - tests/run-pass-valgrind/issue-44800.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / run-pass-valgrind / issue-44800.rs
1 use std::alloc::System;
2 use std::collections::VecDeque;
3
4 #[global_allocator]
5 static ALLOCATOR: System = System;
6
7 fn main() {
8     let mut deque = VecDeque::with_capacity(32);
9     deque.push_front(0);
10     deque.reserve(31);
11     deque.push_back(0);
12 }