Home
last modified time | relevance | path

Searched refs:must_throw (Results 1 - 5 of 5) sorted by relevance

/third_party/jerryscript/tests/jerry/es2015/
H A Dclass-inheritance-early-semantics.js16 function must_throw (str) { function
49 must_throw ("class B extends 5 + 6 + 5 { constructor (a, b) { super (a) } }");
51 must_throw ("class B extends null { constructor () { super () } }; new B");
53 must_throw ("var o = { a : 5 }; \
57 must_throw ("class B extends A { constructor (a, b) { this.b = b} } \
60 must_throw ("class B extends A { constructor (a, b) { super.f () } } \
63 must_throw ("class B extends A { constructor (a, b) { eval ('this.b = b') } } \
66 must_throw ("class B extends A { constructor (a, b) { eval ('super.f ()') } } \
69 must_throw ("class B extends A { constructor (a, b) { super (a); super (a); } } \
72 must_throw ("clas
[all...]
H A Darrow-function.js16 function must_throw (str) function
137 must_throw ("var x => x;");
138 must_throw ("(()) => 0");
139 must_throw ("((x)) => 0");
140 must_throw ("(((x))) => 0");
141 must_throw ("(x,) => 0");
142 must_throw ("(x==6) => 0");
143 must_throw ("(x y) => 0");
144 must_throw ("(x,y,) => 0");
145 must_throw ("
[all...]
H A Dclass.js16 function must_throw(str) { function
47 must_throw("class {}");
48 must_throw("class class {}");
49 must_throw("class A { constructor() {} this.a = 5 }");
50 must_throw("class A { constructor() {} constructor() {} }");
51 must_throw("class A { static prototype() {} }");
52 must_throw("class A { get constructor() {} }");
53 must_throw("class A { set constructor() {} }");
54 must_throw("class A {}; A()");
55 must_throw("clas
[all...]
H A Dtemplate_string.js16 function must_throw (str) function
86 must_throw ("`");
87 must_throw ("`${");
88 must_throw ("`${7");
89 must_throw ("`${}`");
90 must_throw ("`${1}");
91 must_throw ("`${1}.${");
92 must_throw ("`${1}.${2}");
H A Dfunction-pattern1.js15 function must_throw (str, type = SyntaxError) function
28 must_throw ("function f(a, [a]) {}");
29 must_throw ("function f([a], a) {}");
30 must_throw ("function f(a = b, [b]) {}; f()", ReferenceError);
31 must_throw ("function f([a+b]) {}");
32 must_throw ("function f([a().b]) {}");
33 must_throw ("function f(...[a] = [1]) {}");

Completed in 1 milliseconds