aboutsummaryrefslogtreecommitdiff
path: root/tests/errors/tag_mismatch.zc
blob: 1a677664d763fd9644151d32f1ca16d4f7033b8c (plain) (blame)
1
2
3
4
5
namespace;
include rt;

// expect: c: its tag doesn't match its container's
fn main() { let p = rt.new(2), c = rt.new(1); u*p; p[0] = c; return 0; }