summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/statements/function/S13_A7_T3.js
blob: ec722be785e65cd38bf011254ded8c64723782c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// |reftest| error:SyntaxError
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: The FunctionBody must be SourceElements
es5id: 13_A7_T3
description: Checking if execution of "function __func(){\A\B\C}" fails
negative:
  phase: parse
  type: SyntaxError
---*/

$DONOTEVALUATE();

function __func(){\A\B\C};