921e5a0eb4
From-SVN: r14840
15 lines
249 B
C
15 lines
249 B
C
// Special g++ Options: -fshort-enums
|
|
// GROUPS passed enums
|
|
extern "C" int printf (const char *, ...);
|
|
|
|
enum E { A = 0x80000000, B = 0 };
|
|
|
|
main()
|
|
{
|
|
if (sizeof (E) != 4)
|
|
printf ("FAIL\n");
|
|
else
|
|
printf ("PASS\n");
|
|
return 0;
|
|
}
|