Windows: Test if \\.\NUL
works as an input file
This commit is contained in:
parent
9179d9b334
commit
c8d50ef2ee
1 changed files with 9 additions and 0 deletions
9
tests/run-make/dos-device-input/rmake.rs
Normal file
9
tests/run-make/dos-device-input/rmake.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
//@ only-windows
|
||||
// Reason: dos devices are a Windows thing
|
||||
|
||||
use run_make_support::rustc;
|
||||
|
||||
fn main() {
|
||||
rustc().input(r"\\.\NUL").crate_type("staticlib").run();
|
||||
rustc().input(r"\\?\NUL").crate_type("staticlib").run();
|
||||
}
|
Loading…
Add table
Reference in a new issue