blob: 8a96a55095b6ae113da8467696e768beb1efefb3 [file] [log] [blame]
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart = 2.9
/// @assertion It is a compile-time error when a non-raw string literal contains
/// a character sequence of the form \x that is not followed by a sequence of
/// two hexadecimal digits.
/// @description Checks that a string with the \x sequence followed by more than
/// 2 hexadecimal digit characters is interpreted correctly.
/// @author rodionov
/// @reviewer kaigorodov
import '../../../Utils/expect.dart';
main() {
Expect.stringEquals("\x4F4F", "O4F");
}