Index: test/mjsunit/harmony/reflect-construct.js |
diff --git a/test/mjsunit/harmony/reflect-construct.js b/test/mjsunit/harmony/reflect-construct.js |
index a145fccb1ffbfac9db1a1bed60fb2b613595dcc7..f2dfc1536689c5a5f32101c7db9b7e2a65047dce 100644 |
--- a/test/mjsunit/harmony/reflect-construct.js |
+++ b/test/mjsunit/harmony/reflect-construct.js |
@@ -299,8 +299,12 @@ |
"EvalError", |
"Float32Array", |
"Float64Array", |
- "Function", |
- "((function*(){}).constructor)", // GeneratorFunction |
+ ["Function", ["return 153;"]], |
+ ["Function", ["'use strict'; return 153;"]], |
+ ["Function", ["'use strong'; return 153;"]], |
+ ["((function*(){}).constructor)", ["yield 153;"]], // GeneratorFunction |
+ ["((function*(){}).constructor)", ["'use strict'; yield 153;"]], |
+ ["((function*(){}).constructor)", ["'use strong'; yield 153;"]], |
"Int8Array", |
"Int16Array", |
"Int32Array", |