https://llvm.org/bugs/show_bug.cgi?id=24208

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <[email protected]> ---
&= is a single token.

> There is no ambiguity with any other syntactical feature of the language.

Ha! Try these:

template<typename> struct X {};
void f(X<int>={}); // error, >= is a single token

bool b = sizeof new int*==sizeof new void*; // error, forms '*=' '=', not '*'
'=='

struct Y {}; Y operator%(Y, Y); Y operator+(Y, Y);
Y (*fp)(Y, Y) = true?operator%:operator+; // error, '%:' is alternative token
for '#'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to