summaryrefslogtreecommitdiff
path: root/test/built-ins/eval/S15.1.2.1_A3.2_T3.js
diff options
context:
space:
mode:
authorBrian Terlson <brian.terlson@microsoft.com>2014-12-05 15:50:00 -0800
committerBrian Terlson <brian.terlson@microsoft.com>2014-12-07 15:33:09 -0800
commit2a74f0ec1b671f15fc7df3e1e294a65abc8ebac8 (patch)
tree7315f60ffd86513bf163c05e4252fab0810bfbe8 /test/built-ins/eval/S15.1.2.1_A3.2_T3.js
parentda465e7399bcecd3c78fa1f5e898c9d52b4c7096 (diff)
downloadqtdeclarative-testsuites-2a74f0ec1b671f15fc7df3e1e294a65abc8ebac8.tar.gz
Reorganize ./test
Diffstat (limited to 'test/built-ins/eval/S15.1.2.1_A3.2_T3.js')
-rw-r--r--test/built-ins/eval/S15.1.2.1_A3.2_T3.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/built-ins/eval/S15.1.2.1_A3.2_T3.js b/test/built-ins/eval/S15.1.2.1_A3.2_T3.js
new file mode 100644
index 000000000..018bd945e
--- /dev/null
+++ b/test/built-ins/eval/S15.1.2.1_A3.2_T3.js
@@ -0,0 +1,15 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+info: >
+ If Result(3).type is normal and its completion value is empty,
+ then return the value undefined
+es5id: 15.1.2.1_A3.2_T3
+description: Empty statement
+---*/
+
+//CHECK#1
+if (eval(";") !== undefined) {
+ $ERROR('#1: eval(";") === undefined. Actual: ' + (eval(";")));
+}