]> git.lizzy.rs Git - rust.git/blob - src/test/ui/allocator/two-allocators2.rs
Rollup merge of #106043 - c410-f3r:moar-errors, r=petrochenkov
[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() {}