[C++ Patch] PR 51786

Paolo Carlini paolo.carlini@oracle.com
Mon Jul 8 17:50:00 GMT 2013



Hi,

>On 07/07/2013 12:32 PM, Paolo Carlini wrote:
>> -auto int; // { dg-error "multiple types|can only be specified for
>variables" }
>> +auto int; // { dg-error "multiple types|does not declare anything" }
>
>This is a regression.  Please limit the change to when the type is a
>class.

Ah I see. I take your indication as meaning class *or enum*: it seems to me that like this we precisely 'undo' the effect of finish_decltype_type and we cover the other half of the new testcase. I'll send something later today.

Thanks,
Paolo



More information about the Gcc-patches mailing list