blob: dbf0b50f0fe557c6237fb90aabf5f4c4618902f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/
/* Check that assignment to a let-bound variable is permitted in both lenient and strict modes. */
/* Assigning to a let-declared variable is okay in strict and loose modes. */
assertEq(testLenientAndStrict('let let_declared; let_declared=1',
completesNormally,
completesNormally),
true);
reportCompare(true, true);
|