// error-pattern:attempted field access on type [int] // issue #367 fn f() { let v = ~[1]; log v.some_field_name; //type error } fn main() { }