| Index: tests/language/const_var_helper.dart
|
| diff --git a/runtime/tests/vm/dart/mysrc/test2.dart b/tests/language/const_var_helper.dart
|
| similarity index 59%
|
| copy from runtime/tests/vm/dart/mysrc/test2.dart
|
| copy to tests/language/const_var_helper.dart
|
| index 6778525943ec01d1e10e00de490e36a57887dcbe..6d4c06dbcf9f417250753b59c8d335cafe463626 100644
|
| --- a/runtime/tests/vm/dart/mysrc/test2.dart
|
| +++ b/tests/language/const_var_helper.dart
|
| @@ -1,13 +1,12 @@
|
| // 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.
|
| +// All things regarding constant variables.
|
|
|
| -#library('test2.dart');
|
| +/** Helper library for 'const_var_test.dart' */
|
| +#library('const_var_helper');
|
|
|
| -#source('../$SRC/test2a.dart');
|
| -
|
| -int test2() {
|
| - var result = test2a();
|
| - Expect.equals(2, result);
|
| - return result;
|
| +class Foo<E> {
|
| + const Foo();
|
| }
|
| +
|
|
|