Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1784)

Unified Diff: test/cctest/asmjs/test-asm-typer.cc

Issue 2152763002: V8. ASM-2-WASM. Fixes import handling logic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/asmjs/asm-typer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « src/asmjs/asm-typer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698