2012-01-27 18:38:57 -06:00
|
|
|
// Check that bogus field access is non-fatal
|
|
|
|
fn main() {
|
|
|
|
let x = 0;
|
2012-06-30 06:23:59 -05:00
|
|
|
log(debug, x.foo); //~ ERROR attempted access of field
|
|
|
|
log(debug, x.bar); //~ ERROR attempted access of field
|
2012-01-27 18:38:57 -06:00
|
|
|
}
|