summaryrefslogtreecommitdiff
path: root/tests/semantic/method-precondition.test
blob: 019740ddf2ff5b63dcb6bd2761db45aca8afaaf3 (plain)
1
2
3
4
5
6
7
Invalid Code

void foo (int i) requires (i) {
}

void main () {
}