Fix size and alignment of array<T, 0>.
authorEric Fiselier <eric@efcs.ca>
Wed, 7 Feb 2018 23:50:25 +0000 (23:50 +0000)
committerEric Fiselier <eric@efcs.ca>
Wed, 7 Feb 2018 23:50:25 +0000 (23:50 +0000)
commit1a78ae3c895d0520bbb8ad2f154e737d52fe7ae2
treee34d2a482daab62cc393157715037037426b6c28
parent06ac8cfbd103b2a024d6c1c01ae8912ebce523a0
Fix size and alignment of array<T, 0>.

An array T[1] isn't necessarily the same say when it's
a member of a struct. This patch addresses that problem and corrects
the tests to deal with it.

llvm-svn: 324545
libcxx/include/__config
libcxx/include/array
libcxx/test/std/containers/sequences/array/size_and_alignment.pass.cpp