Uros Bizjak <ubiz...@gmail.com> writes: > Hello! > >> The scan-assembler test in vector26.C was showing up unresolved for c++98, >> since in that case we report an expected error and don't produce any asm. >> >> Tested on mips64-linux-gnu and applied as obvious. > > -// { dg-final { scan-assembler-not "globl\[ \t]*_Z3bar" } } > +// { dg-final { scan-assembler-not "globl\[ \t]*_Z3bar" { target { ! > c++98 } } } } > > > Shouldn't "]" be escaped as well?
There is no real need, since ] by itself is not special in a tcl string, only the opening [. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."