summaryrefslogtreecommitdiffstats
path: root/tests/ui/manual/manual-link-unsupported-kind.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/manual/manual-link-unsupported-kind.rs')
-rw-r--r--tests/ui/manual/manual-link-unsupported-kind.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/manual/manual-link-unsupported-kind.rs b/tests/ui/manual/manual-link-unsupported-kind.rs
new file mode 100644
index 000000000..b8ec575a4
--- /dev/null
+++ b/tests/ui/manual/manual-link-unsupported-kind.rs
@@ -0,0 +1,5 @@
+// compile-flags:-l raw-dylib=foo
+// error-pattern: unknown library kind `raw-dylib`, expected one of: static, dylib, framework, link-arg
+
+fn main() {
+}