Fix filesystem test that fails in debug mode
authorJonathan Wakely <jwakely@redhat.com>
Thu, 8 Dec 2016 13:25:09 +0000 (13:25 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 8 Dec 2016 13:25:09 +0000 (13:25 +0000)
commitfdb0b271e860a8bbace2ff037ced0a1a6d17a000
treee7356c8c3adad4142e19ccd3375add3e8fafd80e
parent1d752b4feec13afaae5ad9f6d24c0f4d83d674e1
Fix filesystem test that fails in debug mode

* testsuite/experimental/filesystem/path/construct/range.cc: Don't
use basic_string::front() when string might be empty.

From-SVN: r243438
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/experimental/filesystem/path/construct/range.cc