rust/src/test/compile-fail/fru-extra-field.rs

10 lines
146 B
Rust
Raw Normal View History

2010-06-23 23:03:09 -05:00
// -*- rust -*-
type point = rec(int x, int y);
fn main() {
let point origin = rec(x=0, y=0);
let point origin3d = rec(z=0 with origin);
}