| Index: test_reflectable/test/name_clash_test.dart
|
| diff --git a/test_reflectable/test/name_clash_test.dart b/test_reflectable/test/name_clash_test.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d8db9bbcc1e124c1898a03bfb373b63bda88050a
|
| --- /dev/null
|
| +++ b/test_reflectable/test/name_clash_test.dart
|
| @@ -0,0 +1,18 @@
|
| +// Copyright (c) 2015, the Dart Team. All rights reserved. Use of this
|
| +// source code is governed by a BSD-style license that can be found in
|
| +// the LICENSE file.
|
| +
|
| +library test_reflectable.test.name_clash_test;
|
| +
|
| +import "name_clash_lib.dart" as o;
|
| +
|
| +import "package:unittest/unittest.dart";
|
| +
|
| +@o.reflector
|
| +class C {}
|
| +
|
| +main() {
|
| + test("Name-clash in annotated classes", () {
|
| + expect(o.reflector.reflectType(C), isNot(o.reflector.reflectType(o.C)));
|
| + });
|
| +}
|
|
|