struct Foo;
impl Foo {
fn associated(x: usize) {
print!("{};", x);
}
fn main() {
repeat(Foo::associated, 8);