Add new minimal testcase showing generic tag memory corruption.
This commit is contained in:
parent
fcb344799a
commit
d218df02bf
6
src/test/run-pass/generic-tag-corruption.rs
Normal file
6
src/test/run-pass/generic-tag-corruption.rs
Normal file
@ -0,0 +1,6 @@
|
||||
// xfail-stage0
|
||||
|
||||
// This causes memory corruption in stage0.
|
||||
|
||||
tag thing[K] { some(K); }
|
||||
fn main() { auto x = some("hi"); }
|
Loading…
Reference in New Issue
Block a user