diff options
Diffstat (limited to 'linker/Tests/Mono.Linker.Tests.Cases/Interop/UnusedTypeWithSequentialLayoutIsRemoved.cs')
-rw-r--r-- | linker/Tests/Mono.Linker.Tests.Cases/Interop/UnusedTypeWithSequentialLayoutIsRemoved.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/linker/Tests/Mono.Linker.Tests.Cases/Interop/UnusedTypeWithSequentialLayoutIsRemoved.cs b/linker/Tests/Mono.Linker.Tests.Cases/Interop/UnusedTypeWithSequentialLayoutIsRemoved.cs new file mode 100644 index 000000000..00c47a342 --- /dev/null +++ b/linker/Tests/Mono.Linker.Tests.Cases/Interop/UnusedTypeWithSequentialLayoutIsRemoved.cs @@ -0,0 +1,15 @@ +using System.Runtime.InteropServices; +using Mono.Linker.Tests.Cases.Expectations.Assertions; + +namespace Mono.Linker.Tests.Cases.Interop { + class UnusedTypeWithSequentialLayoutIsRemoved { + static void Main () + { + } + + [StructLayout (LayoutKind.Sequential)] + class B { + int a; + } + } +}
\ No newline at end of file |