blob: ee63428afc648f945a00bbe643477f1e02137613 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
// expect: 2/
// spec 5.5.5
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn two() { return 99; }
struct s { int x; static fn two() { return 2; } static fn get() { return two(); } }
fn main() { pn(s.get()); return 0; }
// zc0: skip
|