blob: 02b57c8c43d21ba0095e3486bfaad30e9bb6d7b4 [file] [log] [blame]
// Copyright (c) 2017, 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 import_test;
import 'package:test/test.dart';
import '../out/protos/import_clash.pb.dart' as pb;
import '../out/protos/foo.pb.dart' as foo;
void main() {
test('Import prefixes in generated files do not clash with fields', () {
new pb.Clasher()..foo = new foo.Foo();
});
}