2012-06-22 17:45:47 -05:00
|
|
|
// error-pattern:attempted access of field `nap` on type
|
2012-03-26 12:45:04 -05:00
|
|
|
// xfail-fast
|
2012-09-07 21:04:40 -05:00
|
|
|
// xfail-test
|
2012-03-26 12:45:04 -05:00
|
|
|
// aux-build:cci_class_5.rs
|
|
|
|
use cci_class_5;
|
2012-09-05 14:32:05 -05:00
|
|
|
use cci_class_5::kitties::*;
|
2012-03-26 12:45:04 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let nyan : cat = cat(52u, 99);
|
|
|
|
nyan.nap();
|
|
|
|
}
|