mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
14 lines
361 B
Rust
14 lines
361 B
Rust
// Check to see if we can get parameters from an @argsfile file
|
|
//
|
|
//@ check-pass
|
|
//@ compile-flags: --cfg cmdline_set --check-cfg=cfg(cmdline_set,unbroken)
|
|
//@ compile-flags: @{{src-base}}/argfile/commandline-argfile.args
|
|
|
|
#[cfg(not(cmdline_set))]
|
|
compile_error!("cmdline_set not set");
|
|
|
|
#[cfg(not(unbroken))]
|
|
compile_error!("unbroken not set");
|
|
|
|
fn main() {}
|