summaryrefslogtreecommitdiff
path: root/gold/testsuite/debug_msg.sh
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-14 18:44:58 +0000
committerIan Lance Taylor <iant@google.com>2007-11-14 18:44:58 +0000
commit78f156961e3ba5ed89e28c0c82ca3c891cfdc017 (patch)
tree2200e6193feec909770ed91559c0f0749ce3d1ab /gold/testsuite/debug_msg.sh
parenteb01e199fdf149d5e17945ebe6a413c07d278620 (diff)
downloadbinutils-gdb-78f156961e3ba5ed89e28c0c82ca3c891cfdc017.tar.gz
From Craig Silverstein: Report output file name with ODR violation
warning message.
Diffstat (limited to 'gold/testsuite/debug_msg.sh')
-rwxr-xr-xgold/testsuite/debug_msg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/testsuite/debug_msg.sh b/gold/testsuite/debug_msg.sh
index 26c8ded960b..987aab7d6e8 100755
--- a/gold/testsuite/debug_msg.sh
+++ b/gold/testsuite/debug_msg.sh
@@ -56,7 +56,7 @@ check "debug_msg.o: in function int testfn<double>(double):${srcdir}/debug_msg.c
check "debug_msg.o: in function int testfn<double>(double):${srcdir}/debug_msg.cc:45: undefined reference to 'undef_int'"
# Check we detected the ODR (One Definition Rule) violation.
-check "warning: symbol Ordering::operator()(int, int) *defined in multiple places (possible ODR violation):"
+check ": symbol Ordering::operator()(int, int) *defined in multiple places (possible ODR violation):"
check "odr_violation1.cc:5"
check "odr_violation2.cc:5"