Commit 7230e19e by Mark Mitchell

cp-tree.h (finish_enum): Change prototype.

	* cp-tree.h (finish_enum): Change prototype.
	* decl.c (finish_enum): Reorganize.
	* parse.y (structsp): Adjust calls to finish_enum.

[[Split portion of a mixed commit.]]

From-SVN: r41473.2
parent 3c0ce750
// Origin: Mark Mitchell <mark@codesourcery.com>
// Special g++ Options: -fshort-enums
enum E {
a = -312
};
E e = a;
int main () {
if ((int) e != -312)
return 1;
}
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