]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/many-seeds/scoped-thread-leak.rs
Rollup merge of #105256 - GuillaumeGomez:comment-method-margins, r=notriddle
[rust.git] / src / tools / miri / tests / many-seeds / scoped-thread-leak.rs
1 //! Regression test for https://github.com/rust-lang/miri/issues/2629
2 use std::thread;
3
4 fn main() {
5     thread::scope(|s| {
6         s.spawn(|| {});
7     });
8 }