summaryrefslogtreecommitdiffstats
path: root/tests/ui/native-library-link-flags/msvc-non-utf8-output.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/native-library-link-flags/msvc-non-utf8-output.rs')
-rw-r--r--tests/ui/native-library-link-flags/msvc-non-utf8-output.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/native-library-link-flags/msvc-non-utf8-output.rs b/tests/ui/native-library-link-flags/msvc-non-utf8-output.rs
new file mode 100644
index 000000000..19b9a1770
--- /dev/null
+++ b/tests/ui/native-library-link-flags/msvc-non-utf8-output.rs
@@ -0,0 +1,5 @@
+// build-fail
+// compile-flags:-C link-arg=⦺ⅈ⽯⭏⽽◃⡽⚞
+// only-msvc
+// normalize-stderr-test "(?:.|\n)*(⦺ⅈ⽯⭏⽽◃⡽⚞)(?:.|\n)*" -> "$1"
+pub fn main() {}