blob: 39f1577a63f1ddee2a19497e7073a5a5bf4c50a5 [file] [log] [blame]
// small test case for predicates, for debugging
import org.checkerframework.framework.testchecker.testaccumulation.qual.*;
public class SmallPredicate {
void a() {}
void b() {}
void d(@TestAccumulationPredicate("a && b") SmallPredicate this) {}
static void test(SmallPredicate smallPredicate) {
smallPredicate.a();
smallPredicate.b();
@TestAccumulation({"a", "b"}) SmallPredicate p2 = smallPredicate;
smallPredicate.d();
}
}