Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kliger (λgeek) <alklig@microsoft.com>2021-12-03 22:43:21 +0300
committerGitHub <noreply@github.com>2021-12-03 22:43:21 +0300
commiteff6546c2e38f3eec9e2770819491165a570c1a4 (patch)
tree3170ae79f179b58e77d7a7da8b7d488d37076a4b /src/tests/Loader
parent915ee6db9cb871bb2ef32698015bca0f2c895ce8 (diff)
Update overlapped field test to conflict on 32-bit arches (#62308)
* Update overlapped field test to conflict on 32-bit arches Fixes https://github.com/dotnet/runtime/issues/62303 * [class-init] Setup fields of nested structs in layout check On AOT the field's class may not have been fully inited yet. Related to https://github.com/dotnet/runtime/issues/62311
Diffstat (limited to 'src/tests/Loader')
-rw-r--r--src/tests/Loader/classloader/explicitlayout/NestedStructs/case04.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/Loader/classloader/explicitlayout/NestedStructs/case04.cs b/src/tests/Loader/classloader/explicitlayout/NestedStructs/case04.cs
index 7e2cfc44758..c89bea2ea3b 100644
--- a/src/tests/Loader/classloader/explicitlayout/NestedStructs/case04.cs
+++ b/src/tests/Loader/classloader/explicitlayout/NestedStructs/case04.cs
@@ -27,7 +27,7 @@ public struct SecondLevel
[StructLayout(LayoutKind.Explicit)]
public struct ThirdLevel
{
- [FieldOffset(6)]
+ [FieldOffset(2)]
public short ConflictingValueTypeField;
}