blob: c8ad7b0198e417a625dfc1eee4d39cde7b5b2e1a [file] [log] [blame]
// Test case for Issue 3021:
// https://github.com/typetools/checker-framework/issues/3021
// Any arbitrary annotation can be used.
import org.checkerframework.common.aliasing.qual.MaybeAliased;
public class Issue3021 {
<T> void make() {
new Lib<@MaybeAliased T>() {};
}
class Lib<T> {}
}