blob: c4645e4f8ff114a6df3f6b3415152cff389e0214 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// run-pass
struct S {
z: f64
}
pub fn main() {
let x: f32 = 4.0;
println!("{}", x);
let y: f64 = 64.0;
println!("{}", y);
let z = S { z: 1.0 };
println!("{}", z.z);
}
|