Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/invalidSelection/A_test072.java')
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/invalidSelection/A_test072.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/invalidSelection/A_test072.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/invalidSelection/A_test072.java
new file mode 100644
index 000000000..786a1881e
--- /dev/null
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/invalidSelection/A_test072.java
@@ -0,0 +1,19 @@
+package invalidSelection;
+
+public class A_test072 {
+ public int foo() {
+ int i= foo();
+ switch (i) {
+ case 1/*]*/:
+ foo()/*[*/;
+ case 2:
+ foo();
+ foo();
+ case 3:
+ foo();
+ default:
+ foo();
+ }
+ return i;
+ }
+} \ No newline at end of file

Back to the top