]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generics/generic-tag-corruption.rs
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[rust.git] / src / test / ui / 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()); }