aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/generic-drop-glue.rs
blob: 246835e59f9c56d818ef25e9cf80aef13afc6cce (plain) (blame)
1
2
3
4
5
6
7
8
fn f[T](&T t) {
  let T t1 = t;
}

fn main() {
  auto x = rec(x=@10, y=@12);
  f(x);
}