blob: fbf2d377c7a0a1b35f45e090f3b33c497de2171d [file] [log] [blame]
// Test case for Issue 1043:
// https://github.com/typetools/checker-framework/issues/1043
public class Issue1043 {
<T> boolean foo(Class<T> p) {
return true;
}
void bar(Object p) {}
void baz() {
bar(foo(this.getClass()) ? "a" : "b");
}
}