X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Ftest-154.cs;h=8098cfd5bcabaa322a1a92d3491e5722859ee6c7;hb=aa6a91981b5df2d215ffdaefcfb9e92409d133ca;hp=5dcb465512a95fb2d36aadf2761b7083451111c0;hpb=98a86ecd4ba2d3b4631d98ac5a4abf23f4e6c3e3;p=mono.git diff --git a/mcs/tests/test-154.cs b/mcs/tests/test-154.cs index 5dcb465512a..8098cfd5bca 100644 --- a/mcs/tests/test-154.cs +++ b/mcs/tests/test-154.cs @@ -571,4 +571,27 @@ public class X k_0: ; } + + // + // Bug 59429 + // + public static int test38 () + { + return 0; + foo: + ; + } + + static int test40 (int stop) + { + int service; + + int pos = 0; + do { + service = 1; + break; + } while (pos < stop); + + return service; + } }