Issue 87106
Summary -fno-dollars-in-identifiers doesn't always disable dollars in identifiers
Labels new issue
Assignees
Reporter AaronBallman
    Consider the following test case:
```
#define M(arg)

M($)
M(\u0024)
int $arg1 = 12;
int \u0024arg2 = 12;
```
https://godbolt.org/z/esc7vY8Wf

The dollar sign argument to a macro is also an identifier, so I would imagine all of these should be handled identically. Note, it seems that UCNs never allow you to form a dollar sign despite that being valid in C99 through C17, that may be a separate issue however.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to