summaryrefslogtreecommitdiff
path: root/tests/semantic/with-error-member.test
blob: 6d883b6e51fd0876f0b7bdae671ee051f09e2b35 (plain)
1
2
3
4
5
6
7
8
9
10
11
Invalid Code

errordomain FooError {
    FAIL
}

void main () {
    var e = new FooError.FAIL ("foo");
    with (e) {
    }
}