summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/ch13/13.0/S13_A16.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/ch13/13.0/S13_A16.js')
-rw-r--r--js/src/tests/test262/ch13/13.0/S13_A16.js44
1 files changed, 44 insertions, 0 deletions
diff --git a/js/src/tests/test262/ch13/13.0/S13_A16.js b/js/src/tests/test262/ch13/13.0/S13_A16.js
new file mode 100644
index 000000000..8b8ee7080
--- /dev/null
+++ b/js/src/tests/test262/ch13/13.0/S13_A16.js
@@ -0,0 +1,44 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Any separators are admitted between declaration chunks
+ *
+ * @path ch13/13.0/S13_A16.js
+ * @description Inserting separators between declaration chunks
+ */
+
+function
+x
+(
+)
+{
+}
+;
+
+x();
+
+function y ( ) {};
+
+y();
+
+function
+
+z
+
+(
+
+)
+
+{
+
+}
+
+;
+
+z();
+
+eval("function\u0009\u2029w(\u000C)\u00A0{\u000D};");
+
+w();
+