https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106406
--- Comment #4 from marshal ---
(In reply to marshal from comment #0)
> int main()
> {
> int i = 4;
> for (_Static_assert (3, "This is a three"); i < 7; i++) {
> i += 2;
> }
> }
>
>
> Gcc can build successfully, but it doe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106406
--- Comment #3 from Andrew Pinski ---
One thing I noticed with clang is that it is the rejected inside the parser
rather than later on with the semantic analysis meaning I think it was
overlooked for clang's parser.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106406
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106406
--- Comment #1 from Richard Biener ---
it doesn't declare anything so why should it be invalid?