2018-08-30 14:18:55 +02:00
|
|
|
// run-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(dead_code)]
|
2013-02-19 14:29:50 -05:00
|
|
|
// regression test for issue 4875
|
|
|
|
|
2015-03-22 13:13:15 -07:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2013-02-19 14:29:50 -05:00
|
|
|
pub struct Foo<T> {
|
|
|
|
data: T,
|
|
|
|
}
|
|
|
|
|
2013-11-28 12:22:53 -08:00
|
|
|
fn foo<T>(Foo{..}: Foo<T>) {
|
2013-02-19 14:29:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
pub fn main() {
|
|
|
|
}
|