blob: 8ae11c0ff0dac49d5e44eb4965de3f14ece49231 [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', () {
pb.Clasher()..foo = foo.Foo();
});
}