mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-17 19:14:16 +00:00
14 lines
361 B
Rust
14 lines
361 B
Rust
// Check to see if we can get parameters from an @argsfile file
|
|
//
|
|
//@ build-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() {}
|