Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index b04420ed9ba6264b5be4dcfe30f4a01361b010f5..20a6f3e8267a5862cb17ed8462c5c6904ef9d8d4 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -5309,7 +5309,7 @@ TEST(DetachAndReattachGlobal) { |
} |
-static bool allowed_access_type[v8::ACCESS_KEYS] = { false }; |
+static bool allowed_access_type[v8::ACCESS_KEYS + 1] = { false }; |
static bool NamedAccessBlocker(Local<v8::Object> global, |
Local<Value> name, |
v8::AccessType type, |