2012-03-26 12:45:04 -05:00
|
|
|
// xfail-fast
|
|
|
|
// aux-build:cci_class.rs
|
|
|
|
use cci_class;
|
2012-09-05 14:32:05 -05:00
|
|
|
use cci_class::kitties::*;
|
2012-03-26 12:45:04 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let nyan : cat = cat(52u, 99);
|
2012-09-04 16:48:32 -05:00
|
|
|
assert (nyan.meows == 52u); //~ ERROR field `meows` is private
|
2012-03-26 12:45:04 -05:00
|
|
|
}
|