Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-92.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1de5aa71a7dbc23f49d57fe2a3a4177a22f4c78d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
// This test exposed a bug that Dan found:
//
// The InnerBase used to be the `builder' that was passed to InnerBase,
// so even if InnerBase was a toplevel, it would be defined in the context
// of being nested.  Buggy.
//
class Outer {
	class Inner : InnerBase {
	}
}

abstract class InnerBase {
}

class MainClass {
	public static int Main () {
		return 0;
	}
}