On Sat, Nov 14, 2015 at 8:41 AM, Andreas Schwab <[email protected]> wrote:
> David Edelsohn <[email protected]> writes:
>
>> On Sat, Nov 14, 2015 at 5:16 AM, Andreas Schwab <[email protected]>
>> wrote:
>>> David Edelsohn <[email protected]> writes:
>>>
>>>> + int c\u0024c; // { dg-error "not valid in an identifier" {
>>>> target { powerpc-ibm-aix* } } }
>>>
>>> FAIL: g++.dg/cpp/ucn-1.C -std=gnu++11 target { powerpc-ibm-aix* } (test
>>> for errors, line 12)
>>
>> Argh. So why isn't it limited to the specified target as the
>> documentation implies?
>
> Where does it imply that?
>
> # dg-error regexp comment [{ target/xfail selector } [{.|0|linenum}]]
That's not right either.
I incorrectly read it as
dg-error regexp [comment] [{ target/xfail selector} [line] }]
- David