PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/run-pass/generic-tag-corruption.rs

http://github.com/jruderman/rust
Rust | 7 lines | 2 code | 4 blank | 1 comment | 0 complexity | c58d2ad2c354d12b01343992798baf83 MD5 | raw file
1
2
3
4// This causes memory corruption in stage0.
5enum thing<K> { some(K), }
6
7fn main() { let x = some(~"hi"); }