jemallocator/tests/smoke.rs

15 lines
206 B
Rust
Raw Normal View History

2017-07-07 18:07:16 +00:00
#![feature(global_allocator)]
2016-01-21 01:14:01 +00:00
extern crate jemallocator;
2017-07-07 18:07:16 +00:00
use jemallocator::Jemalloc;
#[global_allocator]
static A: Jemalloc = Jemalloc;
2016-01-21 01:14:01 +00:00
#[test]
fn smoke() {
let mut a = Vec::new();
a.push(3);
}