test: Add test for #1821

This commit is contained in:
Brian Anderson 2012-02-13 15:58:14 -08:00
parent e7024e9dd2
commit f3dba33043

View File

@ -0,0 +1,5 @@
// Issue #1821 - Don't recurse trying to typecheck this
enum t {
foo([t])
}
fn main() {}