mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
9 lines
228 B
Rust
9 lines
228 B
Rust
// Test for #135870, which causes a deadlock bug
|
|
//
|
|
//@ compile-flags: -Z threads=2
|
|
//@ compare-output-by-lines
|
|
|
|
const FOO: usize = FOO; //~ ERROR cycle detected when simplifying constant for the type system `FOO`
|
|
|
|
fn main() {}
|