aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/generic-drop-glue.rs
blob: 3b439b817babb589bf6879293d10c2d41e779390 (plain) (blame)
1
2
3
4
5
6
7
8
9
fn f[T](T t) {
  log "dropping";
}

fn main() {
  type r = rec(@int x, @int y);
  auto x = rec(x=@10, y=@12);
  f[r](x);
}