summaryrefslogtreecommitdiff
path: root/mcs/tests/test-574.cs
blob: 8aa00c88ead932bb9c696c3f1eecac987d99abe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using System.Threading;

enum A {
  Hello,
  Bye
}

class X {

	public static int Main () {
		try {
			switch (0) {
			default:
			  throw new Exception("FOO");
			  break;
			}
		} catch (Exception) {
			return 0;
		}
		
		return 1;
	}
}