Skip to content

Commit

Permalink
Windows: Test if \\.\NUL works as an input file
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisDenton committed Aug 5, 2024
1 parent 9179d9b commit c8d50ef
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/run-make/dos-device-input/rmake.rs
Original file line number Diff line number Diff line change
@@ -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();
}

0 comments on commit c8d50ef

Please sign in to comment.