aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/3-expressions/const_expr_ternary_rejected.zc
blob: 81af58b4b2058b16289194d7cbaee3c565fe791d (plain) (blame)
1
2
3
4
// expect error: zc: line 3:
include rt;
const Z = 1 ? 2 : 3;
fn main() { return 0; }