diff options
Diffstat (limited to 'tests/ui/windows-subsystem-invalid.rs')
-rw-r--r-- | tests/ui/windows-subsystem-invalid.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/windows-subsystem-invalid.rs b/tests/ui/windows-subsystem-invalid.rs new file mode 100644 index 000000000..0336678b7 --- /dev/null +++ b/tests/ui/windows-subsystem-invalid.rs @@ -0,0 +1,5 @@ +// error-pattern: invalid windows subsystem `wrong`, only `windows` and `console` are allowed + +#![windows_subsystem = "wrong"] + +fn main() {} |