summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1729-14.cs
blob: 37257eaee2063d472246b5e93c0c623cf2e09759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// CS1729: The type `TestCases.ClassWithNonPublicConstructor' does not contain a constructor that takes `0' arguments
// Line: 10

namespace TestCases
{
	public class GmcsCtorBug
	{
		public static void Test ()
		{
			new ClassWithNonPublicConstructor ();
		}
	}

	public class ClassWithNonPublicConstructor
	{
		protected ClassWithNonPublicConstructor (int p)
		{
		}
	}
}