[281646] [formatter] Source Formatting does not work without semicolons
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/FormatterRegressionTests.java b/tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/FormatterRegressionTests.java
index 99fcf56..1f6e404 100644
--- a/tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/FormatterRegressionTests.java
+++ b/tests/org.eclipse.wst.jsdt.core.tests.model/src/org/eclipse/wst/jsdt/core/tests/formatter/FormatterRegressionTests.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2000, 2010 IBM Corporation and others.
+ * Copyright (c) 2000, 2011 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -9242,4 +9242,8 @@
 		DefaultCodeFormatter codeFormatter = new DefaultCodeFormatter(preferences);
 		runTest(codeFormatter, "test655", "A.js");//$NON-NLS-1$ //$NON-NLS-2$
 	}
+	
+	public void test656() {
+		runTest("test656", "A.js");//$NON-NLS-1$ //$NON-NLS-2$
+	}
 }
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test656/A_in.js b/tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test656/A_in.js
new file mode 100644
index 0000000..fbb8af0
--- /dev/null
+++ b/tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test656/A_in.js
@@ -0,0 +1,12 @@
+function Test()
+{
+
+    if (true)
+    {
+        return;
+    }
+}
+
+Test.myFunction = function() {
+
+}
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test656/A_out.js b/tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test656/A_out.js
new file mode 100644
index 0000000..e2ac226
--- /dev/null
+++ b/tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test656/A_out.js
@@ -0,0 +1,7 @@
+function Test() {
+	if (true) {
+		return;
+	}
+}
+Test.myFunction = function() {
+}
\ No newline at end of file