Uros Bizjak <ubiz...@gmail.com> writes:
>> 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?

Not my call, but maybe for consistency.  It doesn't matter in practice
since "]" is only treated as part of a Tcl command if it closes a "[".

Thanks,
Richard

Reply via email to