// 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.

/*@testedFeatures=inference*/
library test;

class A {
  B<int> b;
}

class B<T> {
  B(T x);
}

var t1 = new A().. /*@target=A::b*/ b = new /*@typeArgs=int*/ B(1);
var t2 = <B<int>>[new /*@typeArgs=int*/ B(2)];

main() {}
