summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-297.cs
blob: 3406337d4b98aaeced95b761d5ba6bb120b56493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Compiler options: -warnaserror -warn:4

using System;
using System.Runtime.CompilerServices;

[assembly: RuntimeCompatibility (WrapNonExceptionThrows=false)]

public class Test
{
	public static void Main ()
	{
		try {
		} catch (Exception) {
		} catch {
		}
	}
}