summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/NonStmtInFor.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pureJava/NonStmtInFor.java')
-rw-r--r--tests/pureJava/NonStmtInFor.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/pureJava/NonStmtInFor.java b/tests/pureJava/NonStmtInFor.java
new file mode 100644
index 000000000..80d17cbdf
--- /dev/null
+++ b/tests/pureJava/NonStmtInFor.java
@@ -0,0 +1,8 @@
+public class NonStmtInFor {
+ void foo(int i, int j) {
+ for (i = 0; i < 1; j / i, i++) {}
+ }
+ public static void main(String[] args) {
+ }
+}
+