Files
rust/tests/ui/parallel-rustc/cache-after-waiting-issue-111528.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
339 B
Rust
Raw Normal View History

// Test for #111528, the ice issue cause waiting on a query that panicked
//
2024-02-07 15:26:57 +08:00
//@ compile-flags: -Z threads=16
//@ build-fail
//@ compare-output-by-lines
2024-02-07 15:26:57 +08:00
#![crate_type = "rlib"]
2024-02-07 15:26:57 +08:00
#![allow(warnings)]
#[export_name = "fail"]
pub fn a() {}
2024-02-07 15:26:57 +08:00
#[export_name = "fail"]
2024-02-07 15:26:57 +08:00
pub fn b() {
//~^ ERROR symbol `fail` is already defined
2024-02-07 15:26:57 +08:00
}
fn main() {}