https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83449
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83449
--- Comment #2 from Andrew Pinski ---
GCC is correct here. Strings don't paste together.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83449
--- Comment #1 from Asif ---
g++ main.cpp
main.cpp:10:15: error: pasting ""a"" and ""b"" does not give a valid
preprocessing token
char *i=A("a","b");
^
main.cpp:6:16: note: in definition of macro ‘A’
#define A(a,b) a ## b