test & additional fix for Bug 325397 -  [compiler] CCE in generic nested team
diff --git a/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/other/Java5.java b/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/other/Java5.java
index 56c46da..5050879 100644
--- a/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/other/Java5.java
+++ b/testplugins/org.eclipse.objectteams.otdt.tests/otjld/org/eclipse/objectteams/otdt/tests/otjld/other/Java5.java
@@ -4717,4 +4717,17 @@
     		"----------\n");
     }
 
+    public void testA121_genericNestedTeam1() {
+    	runConformTest(
+    		new String[] {
+    	"TeamA121gnt1.java",
+	    	"public team class TeamA121gnt1 {\n" +
+			"    public team class Mid<A1> {\n" +
+			"        protected class Inner<A> {}\n" +
+			"    }\n" +
+			"    public team class Mid2<A2> extends Mid<A2> {\n" +
+			"    }\n" +
+			"}\n"
+    		});
+    }
 }