Index: test/cctest/asmjs/test-asm-typer.cc |
diff --git a/test/cctest/asmjs/test-asm-typer.cc b/test/cctest/asmjs/test-asm-typer.cc |
index 2be20f189bf70b756c4d3a914470b13bd0f9a72a..7957833cec5226d186ed18727f65aa4580a9616d 100644 |
--- a/test/cctest/asmjs/test-asm-typer.cc |
+++ b/test/cctest/asmjs/test-asm-typer.cc |
@@ -561,6 +561,7 @@ TEST(ErrorsInGlobalVariableDefinition) { |
{"var a = 0; var a = 0;", "Redefined global variable"}, |
{"var a = 0, b = 0; var a = 0;", "Redefined global variable"}, |
{"var a = 0, b = 0; var b = 0, a = 0.0;", "Redefined global variable"}, |
+ {"var a = stdlib.Int8Array", "Heap view types can not be aliased"}, |
}; |
for (size_t ii = 0; ii < arraysize(kTests); ++ii) { |