]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/tag-align-u64.rs
rollup merge of #17355 : gamazeps/issue17210
[rust.git] / src / test / run-pass / tag-align-u64.rs
index f3996065936554e743c313536083853b36bdddbf..398a0939d97d7ce9827df24cf36f787fe8ed3700 100644 (file)
@@ -8,13 +8,13 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// ignore-linux #7340 fails on 32-bit linux
+// ignore-linux #7340 fails on 32-bit Linux
 // ignore-macos #7340 fails on 32-bit macos
 
 use std::mem;
 
 enum Tag {
-    Tag(u64)
+    TagInner(u64)
 }
 
 struct Rec {
@@ -23,7 +23,7 @@ struct Rec {
 }
 
 fn mk_rec() -> Rec {
-    return Rec { c8:0u8, t:Tag(0u64) };
+    return Rec { c8:0u8, t:TagInner(0u64) };
 }
 
 fn is_8_byte_aligned(u: &Tag) -> bool {