summaryrefslogtreecommitdiffstats
path: root/tests/ui/extern-flag/invalid-crate-name-non-ascii.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/extern-flag/invalid-crate-name-non-ascii.rs')
-rw-r--r--tests/ui/extern-flag/invalid-crate-name-non-ascii.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/extern-flag/invalid-crate-name-non-ascii.rs b/tests/ui/extern-flag/invalid-crate-name-non-ascii.rs
new file mode 100644
index 000000000..ec4a85820
--- /dev/null
+++ b/tests/ui/extern-flag/invalid-crate-name-non-ascii.rs
@@ -0,0 +1,4 @@
+// compile-flags: --extern čɍαţē=libnon_ascii.rlib
+// error-pattern: crate name `čɍαţē` passed to `--extern` is not a valid ASCII identifier
+
+fn main() {}