Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
parallel-rustc
/
cycle_crash-issue-135870.rs
blob: 4407e3aca802d837dfdabc50002b103ad9eb810e [
file
] [
log
] [
blame
]
// 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
()
{}