2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2018-08-31 08:02:01 -05:00
|
|
|
#![allow(non_camel_case_types)]
|
2011-03-09 16:09:02 -06:00
|
|
|
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2022-07-25 15:36:03 -05:00
|
|
|
enum clam<T> { a(#[allow(unused_tuple_struct_fields)] T), }
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2015-03-25 19:06:52 -05:00
|
|
|
pub fn main() { let c = clam::a(2); match c { clam::a::<isize>(_) => { } } }
|