aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/1-source/keyword_s_only_in_expression.zc
blob: 7e6c6cc294842550e4da143f127ed96f965ba1a8 (plain) (blame)
1
2
// expect error: can't be used inside an expression
fn main() { int x = while + 1; return 0; }