Another test for the occurs check, this one from issue 778

This commit is contained in:
Tim Chevalier 2011-08-05 15:46:50 -07:00
parent b62e80c1f0
commit c35bf9ca04

View file

@ -0,0 +1,4 @@
// error-pattern:mismatched types
// From Issue #778
tag clam[T] { a(T); }
fn main() { let c = a(c); alt c { a[int](_) { } } }