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
Oh, derp, and we don't accept in C *because of this PR*, I have a test case for
that. :-D
https://github.com/llvm/llvm-project/pull/146394
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits