]> git.lizzy.rs Git - rust.git/blob - src/test/ui/threads-sendsync/test-tasks-invalid-value.rs
Rollup merge of #93112 - pietroalbini:pa-cve-2022-21658-nightly, r=pietroalbini
[rust.git] / src / test / ui / threads-sendsync / test-tasks-invalid-value.rs
1 // This checks that RUST_TEST_THREADS not being 1, 2, ... is detected
2 // properly.
3
4 // run-fail
5 // error-pattern:should be a positive integer
6 // compile-flags: --test
7 // exec-env:RUST_TEST_THREADS=foo
8 // ignore-emscripten
9
10 #[test]
11 fn do_nothing() {}