/*
 * @test
 * @summary Test for Issue #1055
 * @library .
 * @compile NonN.java
 * @compile -processor org.checkerframework.checker.nullness.NullnessChecker -Astubs=NonN.astub Wildcards.java  -Werror
 */

public class Wildcards {
  NonN<?> f = new NonN<Object>();

  class LocalNonN<T extends Object> {}

  LocalNonN<?> g = new LocalNonN<Object>();
}
