blob: b90b36e5a517a004aebca3094cc18458dd3d7104 [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.
import 'package:test/test.dart';
import 'gen/foo.pb.dart' as foo;
import 'gen/import_clash.pb.dart' as pb;
void main() {
test('Import prefixes in generated files do not clash with fields', () {
pb.Clasher().foo = foo.Foo();
});
}