summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1729-10.cs
blob: 2912f11be2111ef151884f3bceddeb1fa7abe5f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS1729: The type `Base' does not contain a constructor that takes `0' arguments
// Line: 12
class Base {
	Base (string x)
	{
	}
}

// Notice how there is no invocation to "base (something)"

class Derived : Base {
	Derived ()
	{
	}
}