2018-08-30 14:18:55 +02:00
|
|
|
// run-pass
|
2015-03-22 13:13:15 -07:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2014-12-31 17:32:49 +13:00
|
|
|
#[derive(Clone)]
|
2022-07-25 22:36:03 +02:00
|
|
|
#[allow(unused_tuple_struct_fields)]
|
2013-03-04 15:33:05 -08:00
|
|
|
struct S<T>(T, ());
|
|
|
|
|
2013-09-25 00:43:37 -07:00
|
|
|
pub fn main() {
|
2015-01-25 22:05:03 +01:00
|
|
|
let _ = S(1, ()).clone();
|
2013-05-16 14:15:37 +10:00
|
|
|
}
|