10 lines
200 B
Rust
10 lines
200 B
Rust
// xfail-fast
|
|
// aux-build:cci_class.rs
|
|
use cci_class;
|
|
import cci_class::kitties::*;
|
|
|
|
fn main() {
|
|
let nyan : cat = cat(52u, 99);
|
|
assert (nyan.meows == 52u); //~ ERROR field `meows` is private
|
|
}
|