summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-4875.rs
blob: 8d361314f73a0fbd4616d43d0af12fe0ec7b2de0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// run-pass
#![allow(dead_code)]
// regression test for issue 4875

// pretty-expanded FIXME #23616

pub struct Foo<T> {
    data: T,
}

fn foo<T>(Foo{..}: Foo<T>) {
}

pub fn main() {
}