]> git.proxmox.com Git - rustc.git/blame - src/test/ui/generics/generic-tag-corruption.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / generics / generic-tag-corruption.rs
CommitLineData
b7449926
XL
1// run-pass
2#![allow(non_camel_case_types)]
223e47cc
LB
3
4
1a4d82fc 5// This used to cause memory corruption in stage 0.
c34b1796
AL
6// pretty-expanded FIXME #23616
7
064997fb 8enum thing<K> { some(#[allow(unused_tuple_struct_fields)] K), }
223e47cc 9
1a4d82fc 10pub fn main() { let _x = thing::some("hi".to_string()); }