summaryrefslogtreecommitdiff
path: root/test/elf/librarynotfound.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/elf/librarynotfound.test')
-rw-r--r--test/elf/librarynotfound.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/elf/librarynotfound.test b/test/elf/librarynotfound.test
new file mode 100644
index 0000000000000..faa1728b478bf
--- /dev/null
+++ b/test/elf/librarynotfound.test
@@ -0,0 +1,5 @@
+# Tests the functionality of library not found
+RUN: not lld -flavor gnu -lfn 2> %t1
+RUN: FileCheck %s < %t1
+
+CHECK: Unable to find library -lfn