Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: 1114dadd8ce11af62c8c6e83dabe38eb7a7f89c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package f2;
public class X {
	Object foo1() {
		class Y {
		}
		return new Y();
	}
	Object foo2() {
		return new X() {
		};
	}
}

Back to the top