testdata for IDEA-152332

This commit is contained in:
Anna Kozlova
2016-02-29 20:52:47 +01:00
parent 7c834f20dd
commit 0e606219ba
@@ -0,0 +1,15 @@
// "Remove explicit type arguments" "false"
class Test {
public void valueOfPasses() {
assertEquals("a string", String.valueOf(this.<Obj<caret>ect>someProperty()));
}
public static void assertEquals(Object expected, Object actual) {}
public <T> T someProperty() {
//noinspection unchecked
return (T) "a string";
}
}