From 674a4d70ea7c29448581f9cbf1f4a8a9c2d900bd Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Wed, 4 May 2016 05:47:27 -0700 Subject: [PATCH] Add a specific subarray test that was causing windows llvm 3.8 issues this particular set of inputs is not tested any more since the APL indexing PR was merged --- test/subarray.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/subarray.jl b/test/subarray.jl index a25430dff716e2..3135737de66539 100644 --- a/test/subarray.jl +++ b/test/subarray.jl @@ -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]