Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 9155993612dd71f420f444634df77e666cc6d3a7..d841baf6a8f6b185d4a16b3c20db0048e938f854 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -12483,6 +12483,7 @@ THREADED_TEST(GetCallingContext) { |
// Check that a variable declaration with no explicit initialization |
// value does shadow an existing property in the prototype chain. |
THREADED_TEST(InitGlobalVarInProtoChain) { |
+ i::FLAG_es52_globals = true; |
v8::HandleScope scope; |
LocalContext context; |
// Introduce a variable in the prototype chain. |