blob: 0c9f2358ba946ae7e752abf10c13082bb694a381 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
// expect: 2/
// spec 4.3: else binds to the nearest if
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() {
if (1) if (0) pn(1); else pn(2);
return 0;
}
|