AaronBallman wrote:

> > ```c++
> > typeof(int){} x; // Probably parsed as typeof(int{})
> > ```
> 
> GCC reject this https://godbolt.org/z/YEdnGh8T5

Yeah, I think there are a few different issues. 1) we should not accept in C. 
2) C++ has its own issue in that we accept `typeof` there despite that not 
being conforming: https://godbolt.org/z/9s7r67zvT

https://github.com/llvm/llvm-project/pull/146394
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to