summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1066-2.cs
blob: 3a5393d22a1e6ea3f94bec4fc7cb1be2d52b0e9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS1066: The default value specified for optional parameter `s' will never be used
// Line: 9
// Compiler options: -warnaserror

public partial class C
{
	partial void Test (int u, string s);
	
	partial void Test (int u, string s = "optional")
	{
	}
}