rust/tests/ui/parallel-rustc/cycle_crash-issue-135870.rs

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() {}