aaron.ballman added a comment.

In D133289#3788655 <https://reviews.llvm.org/D133289#3788655>, @to268 wrote:

> In D133289#3784042 <https://reviews.llvm.org/D133289#3784042>, @aaron.ballman 
> wrote:
>
>>   auto auto k = 12; // 99% this is intended to be accepted; first `auto` is 
>> the storage class specifier, second `auto` is a redundant storage class 
>> specifier
>
> It seems that specifying `auto` twice isn't supported at the time being, so i 
> think i should fix that too.
>
>   auto auto test = 12; // error: cannot combine with previous 'auto' 
> declaration specifier

Yup! I just learned yesterday that the error there is correct and intended, at 
least according to the author of WG N3007.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133289/new/

https://reviews.llvm.org/D133289

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to