Skip to content

Commit

Permalink
Add test for constructing huge types.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Sep 16, 2015
1 parent 2b00b5e commit a0a1946
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3357,3 +3357,12 @@ for j = 1:1
continue
end
end

# PR 11888
immutable A11888{T}
a::NTuple{16,T}
end

typealias B11888{T} A11888{A11888{A11888{T}}}

@test sizeof(B11888{B11888{Int64}}) == (1 << 24) * 8

0 comments on commit a0a1946

Please sign in to comment.