mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
18 lines
519 B
Rust
18 lines
519 B
Rust
|
// Check to see if we can get parameters from an @argsfile file
|
||
|
//
|
||
|
// Path replacement in .stderr files (i.e. `$DIR`) doesn't handle mixed path
|
||
|
// separators. This test uses backslash as the path separator for the command
|
||
|
// line arguments and is only run on windows.
|
||
|
//
|
||
|
//@ only-windows
|
||
|
//@ compile-flags: --cfg cmdline_set @{{src-base}}\argfile\commandline-argfile-badutf8.args
|
||
|
|
||
|
#[cfg(not(cmdline_set))]
|
||
|
compile_error!("cmdline_set not set");
|
||
|
|
||
|
#[cfg(not(unbroken))]
|
||
|
compile_error!("unbroken not set");
|
||
|
|
||
|
fn main() {
|
||
|
}
|