| Index: tests/language/src/Naming2Test.dart
|
| diff --git a/tests/language/src/Naming2Test.dart b/tests/language/src/Naming2Test.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..934fa707a2f929248457f70733707bd0980cdf3a
|
| --- /dev/null
|
| +++ b/tests/language/src/Naming2Test.dart
|
| @@ -0,0 +1,13 @@
|
| +// 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.
|
| +
|
| +class A {
|
| + var function;
|
| + A(function) : function = function;
|
| +}
|
| +
|
| +main() {
|
| + var a = new A(499);
|
| + Expect.equals(499, a.function);
|
| +}
|
|
|