diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/native-library-link-flags/empty-kind-2.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/native-library-link-flags/empty-kind-2.rs b/src/test/ui/native-library-link-flags/empty-kind-2.rs new file mode 100644 index 000000000..851eb63fc --- /dev/null +++ b/src/test/ui/native-library-link-flags/empty-kind-2.rs @@ -0,0 +1,6 @@ +// Unspecified kind should fail with an error + +// compile-flags: -l :+bundle=mylib +// error-pattern: unknown library kind ``, expected one of: static, dylib, framework, link-arg + +fn main() {} |