diff options
Diffstat (limited to 'tests/src/Loader/classloader/regressions/dev11_256384/Library.cs')
-rw-r--r-- | tests/src/Loader/classloader/regressions/dev11_256384/Library.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/src/Loader/classloader/regressions/dev11_256384/Library.cs b/tests/src/Loader/classloader/regressions/dev11_256384/Library.cs new file mode 100644 index 0000000000..5673cc4066 --- /dev/null +++ b/tests/src/Loader/classloader/regressions/dev11_256384/Library.cs @@ -0,0 +1,19 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +public interface I +{ + void M(); +} + +public class A : I +{ + public virtual void M() {} +} + +public class B_JIT : A +{ + // Just to make sure that we do not have shared VTable indirection with parent + public virtual void M2() {} +} |