rust/tests/ui/shell-argfiles/shell-argfiles.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
493 B
Rust
Raw Normal View History

2023-12-06 12:25:13 -06:00
// Check to see if we can get parameters from an @argsfile file
//
//@ build-pass
//@ compile-flags: --cfg cmdline_set -Z shell-argfiles @shell:{{src-base}}/shell-argfiles/shell-argfiles.args
#[cfg(not(cmdline_set))]
compile_error!("cmdline_set not set");
#[cfg(not(unquoted_set))]
compile_error!("unquoted_set not set");
#[cfg(not(single_quoted_set))]
compile_error!("single_quoted_set not set");
#[cfg(not(double_quoted_set))]
compile_error!("double_quoted_set not set");
fn main() {
}