https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120978

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
MSVC also rejects this:
<source>(1): error C2014: preprocessor command must start as first nonwhite
space
<source>(1): error C2958: the left '[[' found at '<source>(1)' was not matched
correctly

EDG also rejects this:
"<source>", line 1: error: "#" not expected here
  [[ignored(##)]]int main(){}
            ^

So maybe this is a clang bug ...

Reply via email to