Skip to content

Add test cases for #4063. #11960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Add test cases for #4063. #11960

wants to merge 1 commit into from

Conversation

omasanori
Copy link
Contributor

I'm unsure whether they are correct or not (see my comment on #4063) but certainly it works.

Closes #4063

@alexcrichton
Copy link
Member

Could you also add a test case for the code at the top of the issue?

fn main() { let _a = [0, ..1 as uint]; }

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
@omasanori
Copy link
Contributor Author

@alexcrichton done.

@bors bors closed this in 5c5d995 Feb 1, 2014
@omasanori omasanori deleted the issue-4063 branch February 1, 2014 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Non-constant repeat count expr causes ICE
2 participants