]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gas: testsuite: all: Avoid clashing names in err-sizeof.s
authorRichard Earnshaw <rearnsha@arm.com>
Mon, 15 Sep 2025 15:25:43 +0000 (16:25 +0100)
committerRichard Earnshaw <rearnsha@arm.com>
Tue, 16 Sep 2025 09:31:11 +0000 (10:31 +0100)
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

index a70cd191f7bad9562affa174fbee0502db357752..066142b0c33e062d9d1f27b70e0c69832002694f 100644 (file)
@@ -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 }