2 // { dg-options "-Wall -ansi -pedantic-errors" }
3 // This error happens because lvalue is not done well in the C++ front-end.
4 // NOPs should be lvalues if their arguments are.
5 // NON_LVALUE_EXPRs shouldn't be.
14 enum TypeKind kind : 8;
15 unsigned char prefixLen;
25 (a.kind = c) = b.kind; // { dg-bogus "" }