Fix test for 64-bit platforms
authorBruce Forstall <brucefo@microsoft.com>
Mon, 15 Apr 2019 18:19:39 +0000 (11:19 -0700)
committerBruce Forstall <brucefo@microsoft.com>
Mon, 15 Apr 2019 18:20:38 +0000 (11:20 -0700)
Object type in structs apparently must be 8 byte aligned.

Fixes #23986

tests/src/JIT/Methodical/largeframes/skip4/skippage4.cs

index a3c0651..7e0fed5 100644 (file)
@@ -18,7 +18,7 @@ namespace BigFrames
     {
         [FieldOffset(0)]
         public int i1;
-        [FieldOffset(65500)]
+        [FieldOffset(65496)] // Must be 8-byte aligned for test to work on 64-bit platforms.
         public Object o1;
     }