about summary refs log tree commit diff
path: root/tests/ui/argfile/commandline-argfile.rs
diff options
context:
space:
mode:
authorbeetrees <b@beetr.ee>2023-05-15 18:34:32 +0000
committerbeetrees <b@beetr.ee>2024-03-07 00:19:55 +0000
commit63091b105d08b7b0db19d699d3be3060acde04ad (patch)
tree82ededcd7e6022139b1570cd3cbed16493c57a07 /tests/ui/argfile/commandline-argfile.rs
parent7d3702e472b99be0f5de6608dd87af1df8f99428 (diff)
downloadrust-63091b105d08b7b0db19d699d3be3060acde04ad.tar.gz
rust-63091b105d08b7b0db19d699d3be3060acde04ad.zip
Make `arg_expand_all` not short-circuit on first error
Diffstat (limited to 'tests/ui/argfile/commandline-argfile.rs')
-rw-r--r--tests/ui/argfile/commandline-argfile.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/argfile/commandline-argfile.rs b/tests/ui/argfile/commandline-argfile.rs
new file mode 100644
index 00000000000..387a8d033b3
--- /dev/null
+++ b/tests/ui/argfile/commandline-argfile.rs
@@ -0,0 +1,13 @@
+// Check to see if we can get parameters from an @argsfile file
+//
+//@ build-pass
+//@ compile-flags: --cfg cmdline_set @{{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() {
+}