diff options
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/Advanced/DeadCodeElimination1.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases/Advanced/DeadCodeElimination1.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases/Advanced/DeadCodeElimination1.cs b/test/Mono.Linker.Tests.Cases/Advanced/DeadCodeElimination1.cs new file mode 100644 index 000000000..339d223b6 --- /dev/null +++ b/test/Mono.Linker.Tests.Cases/Advanced/DeadCodeElimination1.cs @@ -0,0 +1,19 @@ +using Mono.Linker.Tests.Cases.Expectations.Assertions; + +namespace Mono.Linker.Tests.Cases.Advanced { + [IgnoreTestCase ("We cannot do this yet")] + class DeadCodeElimination1 { + public static void Main () + { + object o = null; + if (o is B) + ((B) o).Method (); + } + + class B { + public void Method () + { + } + } + } +}
\ No newline at end of file |