about summary refs log tree commit diff
path: root/tests/rustdoc-ui/argfile/commandline-argfile.rs
blob: d5a1cd0a5ed7a1d34eb7dd2824715d099f4be29d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Check to see if we can get parameters from an @argsfile file
//
//@ check-pass
//@ compile-flags: --cfg cmdline_set --check-cfg=cfg(cmdline_set,unbroken)
//@ compile-flags: @{{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() {}