blob: 26cf7779eb4612872244a51fb297e369dda06938 [file] [log] [blame]
// TODO(multitest): This was automatically migrated from a multitest and may
// contain strange or dead code.
// @dart = 2.9
// Copyright (c) 2013, 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.
// Test that we report a compile-time error when a type parameter conflicts
// with an instance or static member with the same name.
import "package:expect/expect.dart";
class G1<T> {
}
class G2<T> {
}
class G3<T> {
}
class G4<T> {
}
class G5<T> {
}
class G6<T> {
}
class G7<T> {
}
class G8<T> {
}
main() {
new G1<int>();
new G2<int>();
new G3<int>();
new G4<int>();
new G5<int>();
new G6<int>();
new G7<int>();
new G8<int>();
}