mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Windows: Test if \\.\NUL works as an input file
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user