commit | 6f77fa14e37d77b39d9abf4b93a2cfeaaa32e730 | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Mon Jun 12 14:41:37 2017 +0000 |
committer | Marshall Clow <mclow.lists@gmail.com> | Mon Jun 12 14:41:37 2017 +0000 |
tree | 80c81b01c774d6fec7fc81ead968f449ae58e06a | |
parent | 0ce2499b20da148448bbcf1a65786ca805fe466b [diff] |
[array.tuple]/1 says that instantiating tuple_element<N, array<T, M>> is ill-formed if N >= M. We didn't do that. Add a static_assert to cause a failure, and a test that checks that we failed llvm-svn: 305191 Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project Cr-Mirrored-Commit: 6db379a2c8bbc40f39a63c6c34216fe23c80127a