summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting7/DiamondPos5.java
blob: 1f60451ae16d057fbbed5ef23281e3979189a77a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
public class Pos05 {

    static class Foo<X> {
        Foo(X x) {}
    }

    void m(Foo<Integer> fi) {}

    void test() {
        m(new Foo<>(1));
    }
}