mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
7 lines
210 B
Rust
7 lines
210 B
Rust
// test the behavior of the --no-run flag without the --test flag
|
|
|
|
//@ compile-flags:-Z unstable-options --no-run --test-args=--test-threads=1
|
|
//@ error-pattern: the `--test` flag must be passed
|
|
|
|
pub fn f() {}
|