Index: test/mjsunit/messages.js |
diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js |
index 5a63e733694aa111bca1fa27d491bc79fb6cae9b..73cc15ac406e349058b4a5ac6be5f7726aa1c3f3 100644 |
--- a/test/mjsunit/messages.js |
+++ b/test/mjsunit/messages.js |
@@ -300,6 +300,13 @@ test(function() { |
}, "Function arg string contains parenthesis", SyntaxError); |
+// === ReferenceError === |
+ |
+test(function() { |
+ "use strict"; |
+ o; |
+}, "o is not defined", ReferenceError); |
+ |
// === RangeError === |
// kArrayLengthOutOfRange |