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