Skip to content

Commit 3ddeb46

Browse files
Merge pull request dotnet#23996 from BruceForstall/Fix64BitAlignment
Fix test for 64-bit platforms
2 parents 57e4cc1 + c539d01 commit 3ddeb46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public struct LargeStructWithRef
1818
{
1919
[FieldOffset(0)]
2020
public int i1;
21-
[FieldOffset(65500)]
21+
[FieldOffset(65496)] // Must be 8-byte aligned for test to work on 64-bit platforms.
2222
public Object o1;
2323
}
2424

0 commit comments

Comments
 (0)