/*
* @test /nodynamiccopyright/
* @bug 6227617
* @summary Lint option for redundant casts
* @compile -Werror T6227617.java
* @compile/ref=T6227617.out -XDrawDiagnostics -Xlint:cast T6227617.java
*/
class T6227617 {
void m() {
int i1 = 2;
float f1 = 1f;
}
// The following cause NPE in Attr with an Attr-based solution for -Xlint:cast
}
class Foo
{
}