* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / errors / cs0156.cs
1 // cs0156.cs: A throw statement with no arguments is not allowed outside of a catch clause
2 // Line: 12
3
4 using System;
5
6 class Foo
7 {
8         static void Main ()
9         {
10                 try {
11                         Console.WriteLine ("Test cs0156");
12                         throw;
13                 }
14                 catch {
15                 }                       
16         }
17 }