2021-02-18 09:15:24 -06:00
|
|
|
// Check to see if we can get parameters from an @argsfile file
|
|
|
|
//
|
2023-05-15 13:34:32 -05:00
|
|
|
// Path replacement in .stderr files (i.e. `$DIR`) doesn't handle mixed path
|
|
|
|
// separators. We have a duplicated version of this test that uses backslash as
|
|
|
|
// the path separator for the command line arguments that is only run on
|
|
|
|
// windows.
|
|
|
|
//
|
|
|
|
//@ ignore-windows
|
2021-02-18 09:15:24 -06:00
|
|
|
//@ normalize-stderr-test: "os error \d+" -> "os error $$ERR"
|
|
|
|
//@ normalize-stderr-test: "commandline-argfile-missing.args:[^(]*" -> "commandline-argfile-missing.args: $$FILE_MISSING "
|
2023-05-15 13:34:32 -05:00
|
|
|
//@ compile-flags: --cfg cmdline_set @{{src-base}}/argfile/commandline-argfile-missing.args
|
2021-02-18 09:15:24 -06:00
|
|
|
|
|
|
|
#[cfg(not(cmdline_set))]
|
|
|
|
compile_error!("cmdline_set not set");
|
|
|
|
|
|
|
|
#[cfg(not(unbroken))]
|
|
|
|
compile_error!("unbroken not set");
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
}
|