mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 15:06:20 +00:00
20 lines
231 B
Rust
20 lines
231 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
#![allow(non_camel_case_types)]
|
|
|
|
|
|
|
|
struct kitten {
|
|
cat: Option<cat>,
|
|
}
|
|
|
|
fn kitten(cat: Option<cat>) -> kitten {
|
|
kitten {
|
|
cat: cat
|
|
}
|
|
}
|
|
|
|
type cat = Box<kitten>;
|
|
|
|
pub fn main() {}
|