mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
12 lines
255 B
Rust
12 lines
255 B
Rust
// Test for #118205, which causes a deadlock bug
|
|
//
|
|
//@ compile-flags:-C extra-filename=-1 -Z threads=16
|
|
//@ no-prefer-dynamic
|
|
//@ build-pass
|
|
//@ compare-output-by-lines
|
|
|
|
#![crate_name = "crateresolve1"]
|
|
#![crate_type = "lib"]
|
|
|
|
pub fn f() -> isize { 10 }
|