Exemplo n.º 1
0
 static int Main()
 {
     small_repro s = new small_repro();
     try
     {
         s.bug(12);
         Console.WriteLine("Pass");
         return 100;
     }
     catch
     {
         Console.WriteLine("Fail");
         return 110;
     }
 }
Exemplo n.º 2
0
    static int Main()
    {
        small_repro s = new small_repro();

        try
        {
            s.bug(12);
            Console.WriteLine("Pass");
            return(100);
        }
        catch
        {
            Console.WriteLine("Fail");
            return(110);
        }
    }