Commit 1c80c82d by Jason Merrill

* g++.dg/parse/enum5.C: Allow for -fshort-enums.

From-SVN: r207273
parent 1d099552
......@@ -10,7 +10,7 @@ struct D {
enum EE : sizeof(EE) * CHAR_BIT; // not OK
enum EE xxxx : sizeof(EE) * CHAR_BIT; // OK
T x : sizeof(unsigned int) * CHAR_BIT; // OK
enum FF {ff} : sizeof(int) * CHAR_BIT; // OK
enum FF {ff} : sizeof(FF) * CHAR_BIT; // OK
} element;
enum EE xx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment