From: Nathan Sidwell Date: Tue, 3 Aug 1999 14:25:10 +0000 (+0000) Subject: * g++.old-deja/g++.other/enum2.C: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e64077dd3bb3e5630535ec7cee5b9876581fc0f;p=gcc.git * g++.old-deja/g++.other/enum2.C: New test. From-SVN: r28472 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6deee844939..885df45b760 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +1999-08-03 Nathan Sidwell + + * g++.old-deja/g++.other/enum2.C: New test. + Mon Aug 2 13:35:12 1999 Richard Henderson Adapted from tests from Franz Sirl: diff --git a/gcc/testsuite/g++.old-deja/g++.other/enum2.C b/gcc/testsuite/g++.old-deja/g++.other/enum2.C new file mode 100644 index 00000000000..c1a9ae20a88 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/enum2.C @@ -0,0 +1,16 @@ +// Build don't link: + +// Copyright (C) 1999 Free Software Foundation, Inc. +// Contributed by Nathan Sidwell 3 Jun 1999 + +// We'd like the enum location to be its open brace. + +enum thing +{ // ERROR - previous def + val1 +}; + +enum thing +{ // ERROR - multiple def + val2 +};