Sign in
third-party-mirror
/
typetools
/
checker-framework
/
refs/heads/main
/
.
/
framework
/
tests
/
report
/
Inherit.java
blob: f413bb51c4500729731430d66e642ec558fd26ae [
file
] [
log
] [
blame
]
import
org
.
checkerframework
.
common
.
util
.
report
.
qual
.*;
public
class
Inherit
{
@ReportInherit
interface
A
{}
class
B
{}
// :: error: (inherit)
class
C
extends
B
implements
A
{}
// :: error: (inherit)
class
D
extends
C
{}
}