Fix another typo
authorMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 5 Dec 1999 02:51:32 +0000 (02:51 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 5 Dec 1999 02:51:32 +0000 (02:51 +0000)
From-SVN: r30785

gcc/testsuite/g++.old-deja/g++.abi/align.C

index a6333849d7c63bc943d276233a84b131728dbb62..e82e6ee00a45237c2d915aacf3dcc557c28418eb 100644 (file)
@@ -22,6 +22,8 @@ alignmentof ()
 
 #define alignof(type) (alignmentof<type> ())
 
+enum A { a };
+
 int
 main ()
 {
@@ -61,9 +63,9 @@ main ()
     return 17;
   if (alignof (unsigned int)            !=  4)
     return 18;
-  if (sizeof  (enum { a })              !=  4)
+  if (sizeof  (enum A)                  !=  4)
     return 19;
-  if (alignof (enum { a })              !=  4)
+  if (alignof (enum A)                  !=  4)
     return 20;
 #ifdef HAVE_IA64_TYPES
   if (sizeof  (__int64)                 !=  8)