diff options
Diffstat (limited to 'ld/testsuite/ld-elfvsb/elfvsb.exp')
-rw-r--r-- | ld/testsuite/ld-elfvsb/elfvsb.exp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfvsb/elfvsb.exp b/ld/testsuite/ld-elfvsb/elfvsb.exp index c4f82f4..220e282 100644 --- a/ld/testsuite/ld-elfvsb/elfvsb.exp +++ b/ld/testsuite/ld-elfvsb/elfvsb.exp @@ -144,6 +144,8 @@ proc visibility_test { visibility progname testname main sh1 sh2 dat args } { pass "$testname" } else { if { [ string match $visibility "hidden_undef_def" ] && [regexp ".*/main.c.*: undefined reference to \`visibility\'" $link_output] + && [regexp ".*/main.c.*: undefined reference to \`visibility_def\'" $link_output] + && [regexp ".*/main.c.*: undefined reference to \`visibility_func\'" $link_output] && [regexp ".*/main.c.*: undefined reference to \`visibility_var\'" $link_output] } { pass "$testname" } else { |