summaryrefslogtreecommitdiff
path: root/mcs/tests/test-partial-25.cs
blob: d56d279929d4d1b821df5de81d08c0646b5b1e36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;

partial class C
{
	static partial void Partial (int i = 8);
	
	static partial void Partial (int i)
	{
		if (i != 8)
			throw new ApplicationException ();
	}
	
	public static int Main ()
	{
		Partial ();
		return 0;
	}
}