// expect error: MAXX: is not a static function of this struct; did you mean 'MAX'? // spec 5.5.6 include rt; void pn(int x) { rt.put_n(x); rt.put_c(10); } struct s { int x; const MAX = 1; } fn main() { pn(s.MAXX); return 0; } // zc0: skip