mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-21 19:33:16 +00:00
12 lines
255 B
Rust
12 lines
255 B
Rust
// 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() {}
|