Skip to content

Commit

Permalink
auto merge of #16350 : hirschenberger/rust/issue-15917, r=alexcrichton
Browse files Browse the repository at this point in the history
Adding test for issue #15917 which was previously fixed with #15709
  • Loading branch information
bors committed Aug 9, 2014
2 parents 48ee816 + 6b9a202 commit e55e27d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/compile-fail/repeat_count.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ fn main() {
//~^ ERROR: expected `uint` but found `&'static str`
let f = [0, ..-4];
//~^ ERROR expected positive integer for repeat count but found negative integer
let f = [0u, ..-1];
//~^ ERROR expected positive integer for repeat count but found negative integer
}

0 comments on commit e55e27d

Please sign in to comment.