[PATCH v2 4/4] gas: testsuite: all: Avoid clashing names in err-sizeof.s

Richard Earnshaw rearnsha@arm.com
Tue Sep 16 09:35:55 GMT 2025


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.
---
 gas/testsuite/gas/all/err-sizeof.s | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 }
-- 
2.43.0



More information about the Binutils mailing list