aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-plugin/lto.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-plugin/lto.exp')
-rw-r--r--ld/testsuite/ld-plugin/lto.exp8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp
index f4ea1d4..4e8e2dc 100644
--- a/ld/testsuite/ld-plugin/lto.exp
+++ b/ld/testsuite/ld-plugin/lto.exp
@@ -522,6 +522,14 @@ set lto_link_elf_tests [list \
{{"nm" {-D} "pr28849.d"}} \
"pr28849" \
] \
+ [list \
+ "PR ld/pr29086" \
+ "-Wl,--wrap=foo" \
+ "-O0 -flto" \
+ {pr29086.c} \
+ {} \
+ "pr29086" \
+ ] \
]
# PR 14918 checks that libgcc is not spuriously included in a shared link of