blob: 0ae5f5772f6d725fb5272e1a193b8a8a9a2cf75a [file] [log] [blame]
// Copyright (c) 2012, 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.
const String s = "foo";
const int i = s.length; /// 01: compile-time error
use(x) => x;
main() {
use(i); /// 01: continued