Skip to content

Commit

Permalink
Add a specific subarray test that was causing windows llvm 3.8 issues
Browse files Browse the repository at this point in the history
this particular set of inputs is not tested any more since the
APL indexing PR was merged
  • Loading branch information
tkelman committed May 5, 2016
1 parent 491638a commit 674a4d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/subarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -471,3 +471,7 @@ let A = rand(10), sA = sub(copy(A), :)
permute!(sA, collect(Int16, 1:10))
@test A == sA
end

# the following segfaults with LLVM 3.8 on Windows, ref #15417
@test collect(sub(sub(reshape(1:13^3, 13, 13, 13), 3:7, 6, :), 1:2:5, :, 1:2:5)) ==
[68,70,72,406,408,410,744,746,748]

0 comments on commit 674a4d7

Please sign in to comment.