Index: test/mjsunit/harmony/block-let-semantics-sloppy.js |
diff --git a/test/mjsunit/harmony/block-let-semantics-sloppy.js b/test/mjsunit/harmony/block-let-semantics-sloppy.js |
index 3d529fc36d0a0a35745451555491e679ae881bc6..8ec1eeacd09b1877f926ef8beacf60a72e3a1b7a 100644 |
--- a/test/mjsunit/harmony/block-let-semantics-sloppy.js |
+++ b/test/mjsunit/harmony/block-let-semantics-sloppy.js |
@@ -127,8 +127,9 @@ function f() { |
} |
f(); |
-// Test that a function declaration introduces a block scoped variable. |
-TestAll('{ function k() { return 0; } }; k(); '); |
+// Test that a function declaration introduces a block scoped variable |
+// and no function hoisting if there is a conflict. |
+TestFunctionLocal('{ function k() { return 0; } }; k(); let k;'); |
// Test that a function declaration sees the scope it resides in. |
function f2() { |