summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0122-13.cs
blob: 5925d457c5ee05e0393af0585dabfb1c8628366b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0122: `Test.foo' is inaccessible due to its protection level
// Line: 10

internal class Test 
{
	protected const int foo = 0;
}
internal class Rest
{
	protected const int foo = Test.foo;

	static void Main () {}
}