Commit 48ba9538 by Alexandre Oliva Committed by Alexandre Oliva

* g++.dg/abi/enum1.C: New test.

From-SVN: r52804
parent b13ab42c
2002-04-26 Alexandre Oliva <aoliva@redhat.com>
* g++.dg/abi/enum1.C: New test.
2002-04-26 Richard Henderson <rth@redhat.com> 2002-04-26 Richard Henderson <rth@redhat.com>
* gcc.dg/c99-bool-1.c: Expect always true warning. * gcc.dg/c99-bool-1.c: Expect always true warning.
......
// { dg-do run }
#include <cstdlib>
enum foo
{
foo1 = 0,
foo2 = 0xffffffffffffffffULL,
foo3 = 0xf0fffffffffffffeULL
};
int main (int i)
{
if (sizeof (enum foo) != sizeof (unsigned long long))
std::abort ();
}
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