Commit 8e64077d by Nathan Sidwell Committed by Nathan Sidwell

* g++.old-deja/g++.other/enum2.C: New test.

From-SVN: r28472
parent 30ff8252
1999-08-03 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/enum2.C: New test.
Mon Aug 2 13:35:12 1999 Richard Henderson <rth@cygnus.com>
Adapted from tests from Franz Sirl:
......
// Build don't link:
// Copyright (C) 1999 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 3 Jun 1999 <nathan@acm.org>
// We'd like the enum location to be its open brace.
enum thing
{ // ERROR - previous def
val1
};
enum thing
{ // ERROR - multiple def
val2
};
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