]> git.lizzy.rs Git - rust.git/blob - src/test/ui/allocator/two-allocators2.rs
Make some diagnostics not depend on the source of what they reference being available
[rust.git] / src / test / ui / allocator / two-allocators2.rs
1 // aux-build:system-allocator.rs
2 // no-prefer-dynamic
3 // error-pattern: the `#[global_allocator]` in
4
5 extern crate system_allocator;
6
7 use std::alloc::System;
8
9 #[global_allocator]
10 static A: System = System;
11
12 fn main() {}