summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lto/issue-11154.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/lto/issue-11154.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/lto/issue-11154.stderr b/src/test/ui/lto/issue-11154.stderr
new file mode 100644
index 000000000..8eec8b37c
--- /dev/null
+++ b/src/test/ui/lto/issue-11154.stderr
@@ -0,0 +1,6 @@
+error: cannot prefer dynamic linking when performing LTO
+
+note: only 'staticlib', 'bin', and 'cdylib' outputs are supported with LTO
+
+error: aborting due to previous error
+