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