mirror of https://github.com/rust-lang/rust
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() {}
|