blob: 6c831a43eed98f559432f5902065226a0f2c4ef1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
// expect: 3/
// spec 4.1.5: a local assigned before use is fine
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() {
int x;
x = 3;
pn(x);
return 0;
}
// zc0: skip
|