blob: b53de760438f1c0e038e67c82d0543eaeaccadbf [file] [log] [blame]
import org.checkerframework.framework.testchecker.h1h2checker.quals.*;
// :: warning: (inconsistent.constructor.type) :: error: (super.invocation)
@H1S1 class Inheritance {
void bar1(@H1Bot Inheritance param) {}
void bar2(@H1S1 Inheritance param) {}
// :: error: (annotations.on.use)
void bar3(@H1Top Inheritance param) {}
void foo1(@H1Bot Inheritance[] param) {}
void foo2(@H1S1 Inheritance[] param) {}
// :: error: (annotations.on.use)
void foo3(@H1Top Inheritance[] param) {}
}