blob: 79686f8b497308f9a366814ad1c3b147467f5a81 (
plain) (
blame)
1
2
3
4
5
6
7
|
// expect: 24/25/
// spec 5.5.1
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
struct s { int x; const MAX = 24; fn m() { return MAX + 1; } }
fn main() { s* p = rt.new(s); pn(s.MAX); pn(p.m()); rt.free(p); return 0; }
// zc0: skip
|