Commit 1a50ed34 by Mark Mitchell

Fix another typo

From-SVN: r30785
parent 5679f678
...@@ -22,6 +22,8 @@ alignmentof () ...@@ -22,6 +22,8 @@ alignmentof ()
#define alignof(type) (alignmentof<type> ()) #define alignof(type) (alignmentof<type> ())
enum A { a };
int int
main () main ()
{ {
...@@ -61,9 +63,9 @@ main () ...@@ -61,9 +63,9 @@ main ()
return 17; return 17;
if (alignof (unsigned int) != 4) if (alignof (unsigned int) != 4)
return 18; return 18;
if (sizeof (enum { a }) != 4) if (sizeof (enum A) != 4)
return 19; return 19;
if (alignof (enum { a }) != 4) if (alignof (enum A) != 4)
return 20; return 20;
#ifdef HAVE_IA64_TYPES #ifdef HAVE_IA64_TYPES
if (sizeof (__int64) != 8) if (sizeof (__int64) != 8)
......
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