[298651] var xxx = function() is not recognised as constructor
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InferTypesTests.java b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InferTypesTests.java
index 8a3f204..58cba24 100644
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InferTypesTests.java
+++ b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InferTypesTests.java
@@ -691,7 +691,7 @@
" return \"\";" +
"}",
"X.js",
- "class x extends Object{\n static String foo;\n static String bar()\n}\n",
+ "class x extends Object{\n static String foo;\n static String bar()\n x()\n}\n",
getDefaultOptions()
);
@@ -1009,7 +1009,7 @@
"var MyFunc = function () {};\n" +
"MyFunc.myMeth = function () {};",
"X.js",
- "class MyFunc extends Function{\n static void myMeth()\n}\n",
+ "class MyFunc extends Function{\n static void myMeth()\n MyFunc()\n}\n",
getDefaultOptions()
);