]> git.proxmox.com Git - rustc.git/blob - tests/ui/allocator/two-allocators.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / allocator / two-allocators.rs
1 use std::alloc::System;
2
3 #[global_allocator]
4 static A: System = System;
5 #[global_allocator]
6 static B: System = System;
7 //~^ ERROR: cannot define multiple global allocators
8
9 fn main() {}