allow this syntax 'if (condition) var c=1;'
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicParserTests.java b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicParserTests.java
index 55ee163..2b4833f 100644
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicParserTests.java
+++ b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicParserTests.java
@@ -868,6 +868,14 @@
 		);
 	}
 
+	public void test0050() {
+		// make sure divide not seen as regex 
+		this.runParseTest(
+				"if (true) var c=1;",
+			"X.js",
+				"if (true)\n    var c = 1;\n"			
+		);
+	}