re PR c++/6479 (access control bug)

PR c++/6497
* g++.dg/inherit/access2.C: New test.

From-SVN: r52818
This commit is contained in:
Alexandre Oliva 2002-04-26 23:48:32 +00:00 committed by Alexandre Oliva
parent c5843d9e38
commit 0b28889419
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,8 @@
2002-04-26 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/enum1.c: New test.
* g++.dg/abi/enum1.C: New test.
2002-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>

View File

@ -9,7 +9,7 @@ enum foo
foo3 = 0xf0fffffffffffffeULL
};
int main (int i)
int main ()
{
if (sizeof (enum foo) != sizeof (unsigned long long))
std::abort ();