aboutsummaryrefslogtreecommitdiff
path: root/src/test/compile-fail/fru-extra-field.rs
blob: 2762b54f98dc6c8f97d22d234362301e824c5501 (plain) (blame)
1
2
3
4
5
6
7
8
9
// -*- 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);
}