diff options
| author | Albert Larsan <74931857+albertlarsan68@users.noreply.github.com> | 2023-01-05 09:13:28 +0100 |
|---|---|---|
| committer | Albert Larsan <74931857+albertlarsan68@users.noreply.github.com> | 2023-01-11 09:32:08 +0000 |
| commit | cf2dff2b1e3fa55fa5415d524200070d0d7aacfe (patch) | |
| tree | 40a88d9a46aaf3e8870676eb2538378b75a263eb /src/test/debuginfo/thread.rs | |
| parent | ca855e6e42787ecd062d81d53336fe6788ef51a9 (diff) | |
| download | rust-cf2dff2b1e3fa55fa5415d524200070d0d7aacfe.tar.gz rust-cf2dff2b1e3fa55fa5415d524200070d0d7aacfe.zip | |
Move /src/test to /tests
Diffstat (limited to 'src/test/debuginfo/thread.rs')
| -rw-r--r-- | src/test/debuginfo/thread.rs | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/test/debuginfo/thread.rs b/src/test/debuginfo/thread.rs deleted file mode 100644 index 388d50c5cdc..00000000000 --- a/src/test/debuginfo/thread.rs +++ /dev/null @@ -1,31 +0,0 @@ -// Testing the the display of JoinHandle and Thread in cdb. - -// cdb-only -// min-cdb-version: 10.0.18317.1001 -// compile-flags:-g - -// === CDB TESTS ================================================================================== -// -// cdb-command:g -// -// cdb-command:dx join_handle,d -// cdb-check:join_handle,d [Type: std::thread::JoinHandle<tuple$<> >] -// cdb-check: [...] __0 [Type: std::thread::JoinInner<tuple$<> >] -// -// cdb-command:dx t,d -// cdb-check:t,d : [...] [Type: std::thread::Thread *] -// cdb-check:[...] inner [...][Type: core::pin::Pin<alloc::sync::Arc<std::thread::Inner> >] - -use std::thread; - -#[allow(unused_variables)] -fn main() -{ - let join_handle = thread::spawn(|| { - println!("Initialize a thread"); - }); - let t = join_handle.thread(); - zzz(); // #break -} - -fn zzz() {} |
