Skip to content

Commit c35bf9c

Browse files
committed
Another test for the occurs check, this one from issue 778
1 parent b62e80c commit c35bf9c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// error-pattern:mismatched types
2+
// From Issue #778
3+
tag clam[T] { a(T); }
4+
fn main() { let c = a(c); alt c { a[int](_) { } } }

0 commit comments

Comments
 (0)