From: Richard Earnshaw Date: Mon, 15 Sep 2025 15:25:43 +0000 (+0100) Subject: gas: testsuite: all: Avoid clashing names in err-sizeof.s X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8c65d27b7dfe121c39671aa3b63e6a29438edfd1;p=thirdparty%2Fbinutils-gdb.git gas: testsuite: all: Avoid clashing names in err-sizeof.s The first junk test in this file was missing "junk" in the test name, which resulted in a duplicate test name when comparing with the real test on line 3. --- diff --git a/gas/testsuite/gas/all/err-sizeof.s b/gas/testsuite/gas/all/err-sizeof.s index a70cd191f7b..066142b0c33 100644 --- a/gas/testsuite/gas/all/err-sizeof.s +++ b/gas/testsuite/gas/all/err-sizeof.s @@ -10,7 +10,7 @@ .long .startof.() ;# { dg-error "Error: expected symbol name" } ;# We don't really care about these, but I didn't find a way to discard ;# them, and I also don't want to use dg-excess-errors here. -;# { dg-error "junk at end" "" { target *-*-* } 3 } +;# { dg-error "junk at end" "junk" { target *-*-* } 3 } ;# { dg-error "junk at end" "junk" { target *-*-* } 4 } ;# { dg-error "junk at end" "junk" { target *-*-* } 5 } ;# { dg-error "junk at end" "junk" { target *-*-* } 6 }