blob: 4f4bf6ff51267b6b43e7d77b959decc62d9a4afe (
plain)
1
2
3
4
5
6
7
8
|
// pp-exact
// Here we check that the parentheses around the body of `wsucc()` are
// preserved. They are needed to disambiguate `{ret n+1}; - 0` from
// `({ret n+1}-0)`.
fn wsucc(n: int) -> int { ({ ret n + 1 }) - 0; }
fn main() { }
|