Delete dummy semicolon after postfix template expansion

This commit is contained in:
Alexander Zolotov
2014-05-07 22:37:31 +04:00
parent 75264a6a80
commit f7abe52af5
9 changed files with 82 additions and 3 deletions
@@ -0,0 +1,5 @@
public class Foo {
void m(Object o) {
"test".cast<caret>.length()
}
}
@@ -0,0 +1,5 @@
public class Foo {
void m(Object o) {
(() "test")<caret>.length()
}
}
@@ -0,0 +1,7 @@
public class Foo {
void m() {
int[] xs = {1, 2, 3};
xs.for<caret>
xs = new int[0];
}
}
@@ -0,0 +1,9 @@
public class Foo {
void m() {
int[] xs = {1, 2, 3};
for (int x : xs) {
<caret>
}
xs = new int[0];
}
}