2021-02-18 16:15:24 +01:00
|
|
|
// Check to see if we can get parameters from an @argsfile file
|
|
|
|
//
|
|
|
|
//@ check-pass
|
2024-04-07 00:33:37 +02:00
|
|
|
//@ compile-flags: --cfg cmdline_set --check-cfg=cfg(cmdline_set,unbroken)
|
|
|
|
//@ compile-flags: @{{src-base}}/argfile/commandline-argfile.args
|
2021-02-18 16:15:24 +01:00
|
|
|
|
|
|
|
#[cfg(not(cmdline_set))]
|
|
|
|
compile_error!("cmdline_set not set");
|
|
|
|
|
|
|
|
#[cfg(not(unbroken))]
|
|
|
|
compile_error!("unbroken not set");
|
|
|
|
|
2024-04-07 00:33:37 +02:00
|
|
|
fn main() {}
|