summaryrefslogtreecommitdiff
path: root/tests/errors/error-creation-invalid-type.test
blob: c5080b1e807d5f9f239ffe5d97da0185350e0538 (plain)
1
2
3
4
5
6
7
8
9
Invalid Code

errordomain FooError {
	FAIL;
}

void main () {
	var e = new FooError.FAIL (42);
}