2011-12-29 14:03:39 -06:00
|
|
|
// 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)`.
|
|
|
|
|
2012-01-05 00:01:58 -06:00
|
|
|
fn wsucc(n: int) -> int { ({ ret n + 1 }) - 0; }
|
2011-12-29 14:03:39 -06:00
|
|
|
fn main() { }
|