test: Add test for #1821
This commit is contained in:
parent
e7024e9dd2
commit
f3dba33043
1 changed files with 5 additions and 0 deletions
5
src/test/run-pass/issue-1821.rs
Normal file
5
src/test/run-pass/issue-1821.rs
Normal file
|
@ -0,0 +1,5 @@
|
|||
// Issue #1821 - Don't recurse trying to typecheck this
|
||||
enum t {
|
||||
foo([t])
|
||||
}
|
||||
fn main() {}
|
Loading…
Add table
Add a link
Reference in a new issue