Index: pkg/gcloud/test/db/model_dbs/duplicate_fieldname.dart |
diff --git a/pkg/gcloud/test/db/model_dbs/duplicate_fieldname.dart b/pkg/gcloud/test/db/model_dbs/duplicate_fieldname.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..33b6bce0a2f393921310575a2c1386dca51abfdc |
--- /dev/null |
+++ b/pkg/gcloud/test/db/model_dbs/duplicate_fieldname.dart |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 2014, 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. |
+ |
+library gcloud.db.model_test.duplicate_fieldname; |
+ |
+import 'package:gcloud/db.dart' as db; |
+ |
+@db.Kind() |
+class A extends db.Model { |
+ @db.IntProperty() |
+ int foo; |
+} |
+ |
+@db.Kind() |
+class B extends A { |
+ @db.IntProperty(propertyName: 'bar') |
+ int foo; |
+} |