summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/refactoring/typeMigration/t27/after/test.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/typeMigration/testData/refactoring/typeMigration/t27/after/test.java')
-rw-r--r--java/typeMigration/testData/refactoring/typeMigration/t27/after/test.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/typeMigration/testData/refactoring/typeMigration/t27/after/test.java b/java/typeMigration/testData/refactoring/typeMigration/t27/after/test.java
new file mode 100644
index 000000000000..5eb0cb2d97b9
--- /dev/null
+++ b/java/typeMigration/testData/refactoring/typeMigration/t27/after/test.java
@@ -0,0 +1,13 @@
+class Test {
+ D f;
+ void foo(D c) {}
+}
+
+class B extends Test {
+ void foo(D c) {
+ f = c;
+ }
+}
+
+class C {}
+class D extends C{} \ No newline at end of file