summaryrefslogtreecommitdiff
path: root/tests/nullability/with-non-null.test
blob: ed8fb40df92737546fb587bb90d395c72543d8d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Invalid Code

class Foo {
    public int i;
}

void main () {
    Foo? f = new Foo ();
    with (f) {
        i = 7;
    }
}