[libc++][span] Add failing tests for span::first and span::last
authorLouis Dionne <ldionne@apple.com>
Mon, 10 Feb 2020 12:47:27 +0000 (13:47 +0100)
committerLouis Dionne <ldionne@apple.com>
Mon, 10 Feb 2020 12:52:20 +0000 (13:52 +0100)
commitf2af4f8a45dbd0d1de950a64f1b4fbf618c70657
tree1e41bc6491b6f930d2d709cfc36b8fca44dc2bed
parentbb5045429545f47a76980864322a637c31594c7f
[libc++][span] Add failing tests for span::first and span::last

Both methods have compile time constraints that we should test against.

Patch by Michael Schellenberger Costa

Differential Revision: https://reviews.llvm.org/D71999
libcxx/test/std/containers/views/span.sub/first.fail.cpp [new file with mode: 0644]
libcxx/test/std/containers/views/span.sub/first.pass.cpp
libcxx/test/std/containers/views/span.sub/last.fail.cpp [new file with mode: 0644]
libcxx/test/std/containers/views/span.sub/last.pass.cpp