Add new minimal testcase showing generic tag memory corruption.
This commit is contained in:
parent
fcb344799a
commit
d218df02bf
1 changed files with 6 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue