Skip to content

Commit d218df0

Browse files
committed
Add new minimal testcase showing generic tag memory corruption.
1 parent fcb3447 commit d218df0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// xfail-stage0
2+
3+
// This causes memory corruption in stage0.
4+
5+
tag thing[K] { some(K); }
6+
fn main() { auto x = some("hi"); }

0 commit comments

Comments
 (0)