summaryrefslogtreecommitdiffstats
path: root/tests/ui/threads-sendsync/test-tasks-invalid-value.rs
blob: 6411421429c4c7f0c0f85c73008517ad5d3b6826 (plain)
1
2
3
4
5
6
7
8
9
10
11
// This checks that RUST_TEST_THREADS not being 1, 2, ... is detected
// properly.

// run-fail
// error-pattern:should be a positive integer
// compile-flags: --test
// exec-env:RUST_TEST_THREADS=foo
// ignore-emscripten

#[test]
fn do_nothing() {}