Macro expansion yields "error: expected unqualified-id" with no source location at all #29054
Open
Description
| Bugzilla Link | 28680 |
| Version | trunk |
| OS | All |
| Reporter | LLVM Bugzilla Contributor |
| CC | @DougGregor |
Extended Description
no filename, no line number, no nothing, except:
error: expected unqualified-id
Checking on godbolt, it seems to be a regression between 3.7.1 and 3.8.
class Foo {
static const char * string;
};
#define MESSAGE_STUFF(type, string)
const char * type::string = string;
MESSAGE_STUFF(Foo, "hello");
Activity