Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test86/in/A.java')
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test86/in/A.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test86/in/A.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test86/in/A.java
new file mode 100644
index 000000000..c38d60a1f
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ExtractInterface/test86/in/A.java
@@ -0,0 +1,17 @@
+package p;
+class A {
+ int x;
+}
+class Y{
+ A[] cs;
+ void add(A c){
+ cs[0]= c;
+ }
+ void f(){
+ cs[0].x= 0;
+ }
+ void foo(){
+ A[] tab= null;
+ add(tab[0]);
+ }
+} \ No newline at end of file

Back to the top