about summary refs log tree commit diff
path: root/tests/ui/parallel-rustc/cache-after-waiting-issue-111528.rs
blob: 73d173022f6aca312f560105c921bad219946eea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//@ compile-flags: -Z threads=16
//@ build-fail

#![crate_type="rlib"]
#![allow(warnings)]

#[export_name="fail"]
pub fn a() {
}

#[export_name="fail"]
pub fn b() {
//~^ ERROR symbol `fail` is already defined
}

fn main() {}