summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/regress/string-compare-memcmp.js
blob: 45f47343ee84fcd71c94d63a32210c83ca8c091d (plain)
1
2
3
4
5
6
7
// Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Flags: --allow-natives-syntax

assertEquals(-1, %StringCompare("abc\u0102", "abc\u0201"));