]>
git.proxmox.com Git - rustc.git/blob - tests/ui/structs-enums/classes-simple.rs
3 #![allow(non_camel_case_types)]
11 fn cat(in_x
: usize, in_y
: isize) -> cat
{
19 let nyan
: cat
= cat(52, 99);
20 let kitty
= cat(1000, 2);
21 assert_eq
!(nyan
.how_hungry
, 99);
22 assert_eq
!(kitty
.how_hungry
, 2);